add missing include and is_double function

This commit is contained in:
Max Lyon
2020-02-05 22:14:27 +01:00
parent 63dd997489
commit 0e8c46ab84
3 changed files with 18 additions and 0 deletions

View File

@@ -350,6 +350,13 @@ namespace OMFormat {
#endif
}
template <typename T> bool is_double(const T&)
{
return false;
}
template <> bool is_double<double>(const double&);
template <typename T> bool is_integer(const T)
{
#if defined(OM_MISSING_HEADER_LIMITS)