DUNE-ACFEM (2.5.1)
Dune::ACFem::ExpressionStorage< SomeThing > Struct Template Reference
An ExpressionStorage object stores either a copy or a reference of an object. More...
#include <dune/acfem/expressions/expressionoperations.hh>
Detailed Description
template<class SomeThing>
struct Dune::ACFem::ExpressionStorage< SomeThing >
struct Dune::ACFem::ExpressionStorage< SomeThing >
An ExpressionStorage object stores either a copy or a reference of an object.
The default is to store copies for something which inherits from ExpressionTemplate<SomeThing> and otherwise to store references. In order to be stored as copy (thus allowing for copying temporaries in expressions) one can either inherit from ExpressionTemplate<Impl> or specialize the ExpressionStorage class for the particular object.
This way "real" non-expression objects like discrete functions etc. are stored as references, anything which claims to be an expression is copied.
The documentation for this struct was generated from the following file:
- dune/acfem/expressions/expressionoperations.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 12, 23:30, 2024)