From 47b061be3357978500d8a8b9ddcece275b96e9f2 Mon Sep 17 00:00:00 2001 From: Christian Engwer <christi@dune-project.org> Date: Sun, 31 Oct 2010 22:26:08 +0000 Subject: [PATCH] numeric_limits are a struct [[Imported from SVN: r6220]] --- dune/common/bigunsignedint.hh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/dune/common/bigunsignedint.hh b/dune/common/bigunsignedint.hh index f78bba810..b185e9ef8 100644 --- a/dune/common/bigunsignedint.hh +++ b/dune/common/bigunsignedint.hh @@ -16,11 +16,6 @@ * @author Peter Bastian */ -namespace std -{ - template<class T> struct numeric_limits; -} - namespace Dune { /** @addtogroup Common @@ -136,7 +131,7 @@ namespace Dune double todouble() const; friend class bigunsignedint<k/2>; - friend class std::numeric_limits<bigunsignedint<k> >; + friend struct std::numeric_limits< bigunsignedint<k> >; private: unsigned short digit[n]; @@ -553,7 +548,7 @@ namespace Dune namespace std { template<int k> - class numeric_limits<Dune::bigunsignedint<k> > + struct numeric_limits<Dune::bigunsignedint<k> > { public: static const bool is_specialized = true; -- GitLab