Files
clang-uml/tests/t00016/t00016.cc
Bartek Kryza 8efbb2446e Fixed up to 26
2022-07-24 00:10:08 +02:00

29 lines
470 B
C++

namespace clanguml {
namespace t00016 {
template <typename> struct is_numeric {
enum { value = false };
};
template <> struct is_numeric<float> {
enum { value = true };
};
template <> struct is_numeric<char> {
enum { value = true };
};
template <> struct is_numeric<unsigned int> {
enum { value = true };
};
template <> struct is_numeric<int> {
enum { value = true };
};
template <> struct is_numeric<bool> {
enum { value = false };
};
}
}