forked from Alepha/Alepha
Discard some of the dead old bits of Reflection.
This commit is contained in:
@ -72,14 +72,6 @@ namespace Alepha::Hydrogen::Reflection
|
|||||||
// any initialization method.
|
// any initialization method.
|
||||||
struct argument { template< typename T > constexpr operator T (); };
|
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.
|
// Any empty-base-class argument.
|
||||||
template< typename Aggregate >
|
template< typename Aggregate >
|
||||||
struct empty_base
|
struct empty_base
|
||||||
@ -88,7 +80,6 @@ namespace Alepha::Hydrogen::Reflection
|
|||||||
requires
|
requires
|
||||||
(
|
(
|
||||||
true
|
true
|
||||||
//typename= typename checker< std::decay_t< T > >::type,
|
|
||||||
and EmptyType< std::decay_t< T > >
|
and EmptyType< std::decay_t< T > >
|
||||||
and not SameAs< std::decay_t< T >, Aggregate >
|
and not SameAs< std::decay_t< T >, Aggregate >
|
||||||
and DerivedFrom< Aggregate, std::decay_t< T > >
|
and DerivedFrom< Aggregate, std::decay_t< T > >
|
||||||
|
|||||||
Reference in New Issue
Block a user