changes std::numeric_limits from class to struct

- avoids irksome Clang warning, 'mismatched-tags'
This commit is contained in:
John McFarlane
2016-08-09 23:54:32 -07:00
parent 4dd06dc866
commit 0230b9695d

View File

@@ -165,7 +165,7 @@ class safe_base {
>
friend class safe_base;
friend class std::numeric_limits<
friend struct std::numeric_limits<
safe_base<Stored, Min, Max, P, E>
>;
@@ -280,7 +280,7 @@ template<
class P,
class E
>
class numeric_limits<boost::numeric::safe_base<T, Min, Max, P, E> >
struct numeric_limits<boost::numeric::safe_base<T, Min, Max, P, E> >
: public std::numeric_limits<T>
{
using SB = boost::numeric::safe_base<T, Min, Max, P, E>;