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

#include <arg_router/traits.hpp>

Inherits std::false_type.

Detailed Description

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

True if T and U are specialisations of the same type.

is_same_when_despecialised<std::vector<int>, std::vector<std::string>>::value // True
is_same_when_despecialised<std::vector<int>, std::vector<int>>::value // True
is_same_when_despecialised<std::vector<int>, std::deque<int>>::value // False

If any param is not a specialised type, then it evaluates to false.

Template Parameters
TFirst type to compare
USecond type to compare

Definition at line 190 of file traits.hpp.


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