9 #ifndef TYPENAME_EPILOGUE_H 10 #define TYPENAME_EPILOGUE_H 15 template <
class T>
typename 16 enable_if< Not<is_const<T> >,std::string>::T
19 std::ostringstream os;
20 os<<CHAR_BIT*
sizeof(T);
21 return (is_unsigned<T>::value?
"unsigned int":
"int")+os.str()+
"_t";
28 template <
class T>
typename 29 enable_if<And<Not<is_const<T> >,is_integral<T> >,std::string>::T
30 typeNamep() {
return integralTypeName<T>();}
32 template <
class T>
typename 33 enable_if<And<Not<is_const<T> >,Not<is_integral<T> > >,std::string>::T
34 typeNamep() {
return tn<T>::name();}
36 template <
class T>
typename 37 enable_if<is_const<T>,std::string>::T
38 typeNamep() {
return "const "+typeName<typename remove_const<T>::type>();}
40 template <
class T> std::string typeName() {
return typeNamep<T>();}
Contains definitions related to classdesc functionality.
Definition: arrays.h:2514