MADARA  3.1.8
madara::knowledge::rcw::supports_self_eq_impl< T > Struct Template Reference

Trait to test if type supports equality testing (values of same type) More...

#include <BaseTracker.h>

Public Types

using type = decltype(test< T >(0))
 

Static Public Member Functions

template<typename U >
static auto test (U *p) -> decltype(((get_value(*p)==get_value(*p), get_value(*p)!=get_value(*p))), std::true_type())
 
template<typename U >
static auto test (...) -> std::false_type
 

Detailed Description

template<typename T>
struct madara::knowledge::rcw::supports_self_eq_impl< T >

Trait to test if type supports equality testing (values of same type)

Definition at line 207 of file BaseTracker.h.

Member Typedef Documentation

template<typename T>
using madara::knowledge::rcw::supports_self_eq_impl< T >::type = decltype(test<T>(0))

Definition at line 207 of file BaseTracker.h.

Member Function Documentation

template<typename T>
template<typename U >
static auto madara::knowledge::rcw::supports_self_eq_impl< T >::test ( U *  p) -> decltype(((get_value(*p)==get_value(*p), get_value(*p)!=get_value(*p))), std::true_type())
static
template<typename T>
template<typename U >
static auto madara::knowledge::rcw::supports_self_eq_impl< T >::test (   ...) -> std::false_type
static

The documentation for this struct was generated from the following file: