Struct is_one_of< T, V, Ts... >

Synopsis

#include <include/cpptoml.h>

template <class T, class V, class... Ts>
struct is_one_of<T, V, Ts...>

Description

No description yet.

Source

Lines 270-275 in include/cpptoml.h.

template <class T, class V, class... Ts>
struct is_one_of<T, V, Ts...>
{
    const static bool value
        = std::is_same<T, V>::value || is_one_of<T, Ts...>::value;
};





Add Discussion as Guest

Log in