Skip to content
Snippets Groups Projects
Commit 786e5166 authored by Markus Blatt's avatar Markus Blatt
Browse files

Use explicit specialisation for numeric types and let containers

specify types as typedefs.

[[Imported from SVN: r6277]]
parent 57800f7c
No related branches found
No related tags found
No related merge requests found
......@@ -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),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment