Lazy caching of variables. More...
#include <Mutable.hh>
Public Member Functions | |
Member_ const & | Get (std::function< Member_()> const &function) const |
void | Reset () |
Detailed Description
template<typename Member_>
class boca::Mutable< Member_ >
Lazy caching of variables.
Variables stored in the Mutable class will only be evaluated when need (lazy evaluation) and the result will be cached.
Member Function Documentation
template<typename Member_>
|
inline |
template<typename Member_>
|
inline |
The documentation for this class was generated from the following file:
- boca/generic/Mutable.hh