arg_router  1.4.0
C++ command line argument parsing and routing
arg_router::traits::is_specialisation_of< T, U > Struct Template Reference

#include <arg_router/traits.hpp>

Inherits std::false_type.

Detailed Description

template<typename T, template< typename... > typename U>
struct arg_router::traits::is_specialisation_of< T, U >

True if T is a specialisation of U.

is_specialisation_of<std::vector<int>, std::vector> // True
is_specialisation_of<std::vector<int>, std::deque> // False
Note
Explicit specialisations will need adding for types with non-type template parameters (e.g. std::array)
Template Parameters
TType to test
UUnspecialised type to test against

Definition at line 162 of file traits.hpp.


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