check if T::type and T.data has the same type More...
check if T::type and T.data has the same type
i | when different from 0 a check is performed otherwise not, the reason of this is that the typedef and data could also not exist producing compilation error, this flag avoid this, it perform the check only if it is safe |
T |
return true if the type of T::data is the same of T::type, false otherwise
Definition at line 189 of file common.hpp.
#include <common.hpp>
Public Types | |
enum | { value = std::is_same<decltype(std::declval<T>().data),typename T::type>::value } |
anonymous enum |
Definition at line 191 of file common.hpp.