libcaf  0.15.3
caf::is_same_ish< T, U > Struct Template Reference

Compares T to U und evaluates to true_type if either `T == U or if T and U are both integral types of the same size and signedness. More...

#include <variant.hpp>

Inherits type< std::is_same< T, U >::value, std::true_type, is_equal_int_type< T, U > >.

Detailed Description

template<class T, typename U>
struct caf::is_same_ish< T, U >

Compares T to U und evaluates to true_type if either `T == U or if T and U are both integral types of the same size and signedness.

This works around the issue that `uint8_t != unsigned char on some compilers.


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