A trait variable that is true when T is one of the types Ts.

Synopsis

Declared in <folly/Traits.h>

template<
    typename T,
    typename... Ts>
inline constexpr bool is_one_of_v = IsOneOf<T, Ts...>::value;

Created with MrDocs