Searched defs:sp_convertible (Results 1 – 1 of 1) sorted by relevance
/third_party/boost/boost/smart_ptr/detail/ |
D | sp_convertible.hpp | 41 template< class Y, class T > struct sp_convertible struct 43 typedef char (&yes) [1]; 44 typedef char (&no) [2]; 49 enum _vt { value = sizeof( (f)( static_cast<Y*>(0) ) ) == sizeof(yes) }; 52 template< class Y, class T > struct sp_convertible< Y, T[] > struct 54 enum _vt { value = false }; 57 template< class Y, class T > struct sp_convertible< Y[], T[] > struct 59 enum _vt { value = sp_convertible< Y[1], T[1] >::value }; 62 template< class Y, std::size_t N, class T > struct sp_convertible< Y[N], T[] > struct 64 enum _vt { value = sp_convertible< Y[1], T[1] >::value };
|