Visual Computing Library  devel
Loading...
Searching...
No Matches
vcl::IsSpecializationOf< T, Template > Struct Template Reference

Trait to check if a type is a specialization of a given template. More...

#include <vclib/base/variadic_templates.h>

Inheritance diagram for vcl::IsSpecializationOf< T, Template >:

Detailed Description

template<typename T, template< typename... > class Template>
struct vcl::IsSpecializationOf< T, Template >

Trait to check if a type is a specialization of a given template.

Usage:

static_assert(IsSpecializationOf<std::vector<int>, std::vector>::value, "");
A class representing a box in N-dimensional space.
Definition box.h:46
Trait to check if a type is a specialization of a given template.
Definition variadic_templates.h:233

The documentation for this struct was generated from the following file: