forked from Alepha/Alepha
A special case for capabilities.
I keep putting of a rewrite here... I need to get to it.
This commit is contained in:
@ -101,6 +101,13 @@ namespace Alepha::Hydrogen
|
||||
return has_cap( Meta::Container::vector< TParams... >{}, cap );
|
||||
}
|
||||
|
||||
template< typename Type, typename Cap >
|
||||
consteval bool
|
||||
has_cap( const Meta::type_value< Type > &, Meta::type_value< Cap > )
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
namespace exports
|
||||
{
|
||||
template< typename T, typename cap >
|
||||
|
Reference in New Issue
Block a user