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

patch 4944 (dynamic access to array size) merged from the 1.0 branch

[[Imported from SVN: r4945]]
parent 45c774c7
Branches
Tags
No related merge requests found
......@@ -126,6 +126,9 @@ namespace Dune
for (int i=0; i<N; i++) a[i]=t;
}
/** \brief Return array size */
int size() const {return N;}
//! Assign value to all entries
FixedArray<T,N>& operator= (const T& t)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment