diff --git a/Reflection/tuplizeAggregate.h b/Reflection/tuplizeAggregate.h index e631743..f959801 100644 --- a/Reflection/tuplizeAggregate.h +++ b/Reflection/tuplizeAggregate.h @@ -6,6 +6,8 @@ static_assert( __cplusplus > 2020'00 ); #include +#include + #include #include @@ -192,6 +194,9 @@ namespace Alepha::Hydrogen::Reflection { return tuplizeAggregate< compute_salient_members_count_v< std::decay_t< Aggregate > > >( std::forward< Aggregate >( agg ) ); } + + template< typename Aggregate > + using aggregate_tuple_t= decay_tuple_t< std::decay_t< decltype( tuplizeAggregate( std::declval< const Aggregate & >() ) ) > >; } }