Commit fc71512a authored by Mike Kremer's avatar Mike Kremer

Added template specializations to header

git-svn-id: http://www.openvolumemesh.org/svnrepo/OpenVolumeMesh/trunk@145 66977474-1d4b-4f09-8fe9-267525286df2
parent 3503fcf3
......@@ -118,7 +118,19 @@ public:
};
template <class T>
const std::string typeName() { return typeid(T).name(); }
const std::string typeName();
template <> const std::string typeName<int>();
template <> const std::string typeName<unsigned int>();
template <> const std::string typeName<short>();
template <> const std::string typeName<long>();
template <> const std::string typeName<unsigned long>();
template <> const std::string typeName<char>();
template <> const std::string typeName<unsigned char>();
template <> const std::string typeName<bool>();
template <> const std::string typeName<float>();
template <> const std::string typeName<double>();
template <> const std::string typeName<std::string>();
} // Namespace OpenVolumeMesh
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment