traits class for checking whether type T is one of any of the given types in the variadic list.

Synopsis

Declared in <llvm/ADT/STLExtras.h>

template<
    typename T,
    typename... Ts>
using is_one_of = std::disjunction<std::is_same<T, Ts>...>;

Created with MrDocs