inline is_double specialization
This commit is contained in:
@@ -249,13 +249,6 @@ namespace OMFormat {
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
|
||||
template<>
|
||||
bool is_double<double>(const double&)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
} // namespace OMFormat
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
@@ -355,7 +355,10 @@ namespace OMFormat {
|
||||
return false;
|
||||
}
|
||||
|
||||
template <> bool is_double<double>(const double&);
|
||||
template <> inline bool is_double(const double&)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
template <typename T> bool is_integer(const T)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user