template<class Test, template<class...> class Ref>
Rodin::Utility::IsSpecialization struct

Type trait to check if a type is a specialization of a given template.

Template parameters
Ref The reference template to check against.

The primary template handles the case where Test is not a specialization of the Ref template.

Example usage:

static_assert(IsSpecialization<std::vector<int>, std::vector>::Value == true);
static_assert(IsSpecialization<int, std::vector>::Value == false);

Public static variables

static const bool Value constexpr
False when Test is not a specialization of Ref.