1
0
forked from Alepha/Alepha

Discard some of the dead old bits of Reflection.

This commit is contained in:
2023-11-10 11:55:18 -05:00
parent 0ef618e977
commit 13a1ed321a

View File

@ -72,14 +72,6 @@ namespace Alepha::Hydrogen::Reflection
// any initialization method.
struct argument { template< typename T > constexpr operator T (); };
template< typename T >
struct checker
{
using type= typename checker< T >::type;
//using type= void;
//static_assert( std::is_empty_v< T > );
};
// Any empty-base-class argument.
template< typename Aggregate >
struct empty_base
@ -88,7 +80,6 @@ namespace Alepha::Hydrogen::Reflection
requires
(
true
//typename= typename checker< std::decay_t< T > >::type,
and EmptyType< std::decay_t< T > >
and not SameAs< std::decay_t< T >, Aggregate >
and DerivedFrom< Aggregate, std::decay_t< T > >