23 #if !defined (octave_lo_traits_h)
24 #define octave_lo_traits_h 1
32 template <
bool cond,
typename T1,
typename T2>
35 template<
typename T1,
typename T2>
43 template<
typename T1,
typename T2>
52 template <
class T1,
class T2>
57 static const bool value =
false;
70 template <
template <
class>
class Template,
class T>
75 static const bool value =
false;
78 template <
template <
class>
class Template,
class T>
94 typedef struct {
char c[2]; }
two;
104 enum {
yes =
sizeof (is_class_type_test<T1> (0)) == 1 };
122 template<
template<
typename>
class TemplatedClass,
typename T>
129 template<
template<
typename>
class TemplatedClass,
typename T>
139 template<
template<
typename>
class TemplatedClass,
typename T,
typename S>
146 template<
template<
typename>
class TemplatedClass,
typename T,
typename S>
150 typedef TemplatedClass<S>
type;
static one is_class_type_test(int T2::*)
if_then_else< is_class_type< T >::no, T, T const & >::result type