1
0
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:
2023-11-10 23:27:29 -05:00
parent 59a969da84
commit 3458c6af9a

View File

@ -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 >