struct InferenceEngine::is_one_of<F, S, T…>

Overview

checks that given type is one of specified in variadic template list More…

#include <ie_layers_internal.hpp>

template <typename F, typename S, typename... T>
struct is_one_of<F, S, T...>
{
    // fields

    static constexpr bool value = std::is_same<F, S>::value || is_one_of<F, T...>::value;
};

Detailed Documentation

checks that given type is one of specified in variadic template list

Parameters:

struct InferenceEngine::is_one_of

Overview

checks that given type is one of specified in variadic template list More…

#include <ie_layers_internal.hpp>

template <typename...>
struct is_one_of
{
    // fields

    static constexpr bool value = false;
};

Detailed Documentation

checks that given type is one of specified in variadic template list

Parameters: