From 786e516635f25369b05e176ef7d53d73b449d823 Mon Sep 17 00:00:00 2001 From: Markus Blatt <mblatt@dune-project.org> Date: Mon, 29 Nov 2010 11:56:39 +0000 Subject: [PATCH] Use explicit specialisation for numeric types and let containers specify types as typedefs. [[Imported from SVN: r6277]] --- dune/common/bigunsignedint.hh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dune/common/bigunsignedint.hh b/dune/common/bigunsignedint.hh index fb697e8a3..70b82b909 100644 --- a/dune/common/bigunsignedint.hh +++ b/dune/common/bigunsignedint.hh @@ -40,6 +40,8 @@ namespace Dune template<int k> class bigunsignedint { public: + typedef bigunsignedint real_type; + typedef bigunsignedint field_type; // unsigned short is 16 bits wide, n is the number of digits needed enum { bits=std::numeric_limits<unsigned short>::digits, n=k/bits+(k%bits!=0), -- GitLab