dot-xx
A personal collection of small C++ modules
Loading...
Searching...
No Matches
dxx::utils::is_a Concept Referenceexport
module dxx.utils

Checks if the type is an instance of a template. More...

Concept definition

template<typename T, template< typename... > typename Template>
concept dxx::utils::is_a = requires (T t) {
{ [] <typename... Args> (const Template<Args...>&) {} (t) };
}
Checks if the type is an instance of a template.
Definition traits.xx:48

Detailed Description

Checks if the type is an instance of a template.

Templates with NTTP are not supported :(