struct TypesAreDistinct
Declaration
template <typename... Ts>
struct TypesAreDistinct { /* full declaration omitted */ };
Description
Determine if all types in Ts are distinct. Useful to statically assert when Ts is intended to describe a non-multi set of types. Expensive (currently quadratic in sizeof(Ts...)), and so should only be asserted once per instantiation of a type which requires it.
Declared at: llvm/include/llvm/ADT/STLExtras.h:183
Templates
- Ts