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 | Example |
return true if the type of T::data is the same of T::type, false otherwise
Definition at line 131 of file common.hpp.
#include <common.hpp>
Public Types | |
enum | { value = std::is_same<decltype(T().data),typename T::type>::value } |