Skip to content
Snippets Groups Projects
Commit 3683c092 authored by Oliver Sander's avatar Oliver Sander
Browse files

increase stl-compatibility: allow construction from brace-enclosed initializer...

increase stl-compatibility: allow construction from brace-enclosed initializer list.  Thanks to Bard Skaflestad for the patch.

[[Imported from SVN: r5933]]
parent 9b1da9ce
No related branches found
No related tags found
No related merge requests found
......@@ -65,9 +65,6 @@ namespace Dune
/** \brief Const reverse iterator type */
typedef std::reverse_iterator<const_iterator> const_reverse_iterator;
//! Create uninitialized array
array () {}
/** \brief Return array size */
size_type size() const {return N;}
......@@ -116,7 +113,6 @@ namespace Dune
return a + N;
}
protected:
T a[(N > 0) ? N : 1];
};
......
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