31 lines
392 B
C++
31 lines
392 B
C++
namespace clanguml {
|
|
namespace t00016 {
|
|
|
|
template <typename>
|
|
struct is_numeric {
|
|
enum { value = false };
|
|
};
|
|
|
|
template <>
|
|
struct is_numeric<char> {
|
|
enum { value = true };
|
|
};
|
|
|
|
template <>
|
|
struct is_numeric<unsigned char> {
|
|
enum { value = true };
|
|
};
|
|
|
|
template <>
|
|
struct is_numeric<int> {
|
|
enum { value = true };
|
|
};
|
|
|
|
template <>
|
|
struct is_numeric<bool> {
|
|
enum { value = false };
|
|
};
|
|
|
|
}
|
|
}
|