Check if type T
has operator!= defined.
More...
#include <HasInequivalence.hpp>
template<typename T, typename U = void>
struct tt::has_inequivalence< T, U >
Check if type T
has operator!= defined.
Details
Inherits from std::true_type if the type T
has operator!= defined, otherwise inherits from std::false_type
Usage
For any type T
,
Check if type T has operator!= defined.
Definition: HasInequivalence.hpp:41
Returns: std::bool_constant
Semantics: If the type T
has operator!= defined, then
otherwise
Example
"Failed testing type trait has_inequivalence");
"Failed testing type trait has_inequivalence");
"Failed testing type trait has_inequivalence");
static_assert(tt::has_inequivalence_v<TestHelpers::C>,
"Failed testing type trait has_inequivalence");
typename has_inequivalence< T >::type has_inequivalence_t
Definition: HasInequivalence.hpp:56
- See also
- has_equivalence
- Template Parameters
-
T | the type we want to know if it has operator!= |
The documentation for this struct was generated from the following file:
- src/Utilities/TypeTraits/HasInequivalence.hpp