Skip to content

Commit

Permalink
remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
aalkin committed Nov 8, 2024
1 parent db6aa4b commit 4c14c27
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions Framework/Foundation/include/Framework/Traits.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,20 +49,6 @@ struct always_static_assert : std::false_type {
template <typename... T>
inline constexpr bool always_static_assert_v = always_static_assert<T...>::value;

// template <template <typename...> class base, typename derived>
// struct is_base_of_template_impl {
// template <typename... Ts>
// static constexpr std::true_type test(const base<Ts...>*);
// static constexpr std::false_type test(...);
// using type = decltype(test(std::declval<derived*>()));
// };

// template <template <typename...> class base, typename derived>
// using is_base_of_template = typename is_base_of_template_impl<base, derived>::type;

// template <template <typename...> class base, typename derived>
// inline constexpr bool is_base_of_template_v = is_base_of_template<base, derived>::value;

template <template <typename...> typename B, typename D>
concept base_of_template = requires {
[]<typename... Ts>(B<Ts...>*) {}(std::declval<D*>());
Expand Down

0 comments on commit 4c14c27

Please sign in to comment.