1
0
forked from Alepha/Alepha

OStream automatic generation for aggregates.

I still have to sort out the extended capabilities system and
implement the ostream_lens system.
This commit is contained in:
2023-10-23 01:50:47 -04:00
parent 23c71c8d27
commit 3a92d2b788
3 changed files with 66 additions and 9 deletions

View File

@ -65,7 +65,7 @@ namespace Alepha::Hydrogen
struct higher_kind_tuple {};
template< typename Cap, typename ... Caps >
constexpr bool
consteval bool
has_cap_in_capability_base( const Meta::type_value< Capabilities< Caps... > > &, Meta::type_value< Cap > cap )
{
Meta::Container::vector< Caps... > types;
@ -81,7 +81,7 @@ namespace Alepha::Hydrogen
}
template< typename Cap, typename ... TParams >
constexpr bool
consteval bool
has_cap( const Meta::Container::vector< TParams... > &types, Meta::type_value< Cap > cap )
{
bool rv= 0;