Seastar
High performance C++ framework for concurrent servers
|
This class is a wrapper for a lazy evaluation of a value.
The value is evaluated by a functor that gets no parameters, which is provided to a lazy_value constructor.
The instance may be created only using seastar::value_of helper function.
The evaluation is triggered by operator().
#include <seastar/util/lazy.hh>
Public Member Functions | |
auto | operator() () |
Evaluate a value. More... | |
auto | operator() () const |
Evaluate a value (const version). More... | |
|
inline |
Evaluate a value.
|
inline |
Evaluate a value (const version).