Can be used with various emplace functions to allow in-place constructing a non-movable value using a callable. More...
#include <userver/utils/lazy_prvalue.hpp>
Public Member Functions | |
constexpr | LazyPrvalue (const Func &func) |
constexpr | LazyPrvalue (Func &&func) |
LazyPrvalue (LazyPrvalue &&)=delete | |
LazyPrvalue & | operator= (LazyPrvalue &&)=delete |
constexpr | operator std::invoke_result_t< Func && > () && |
Can be used with various emplace functions to allow in-place constructing a non-movable value using a callable.
Definition at line 20 of file lazy_prvalue.hpp.
|
inlineexplicitconstexpr |
Definition at line 24 of file lazy_prvalue.hpp.
|
inlineexplicitconstexpr |
Definition at line 26 of file lazy_prvalue.hpp.
|
inlineconstexpr |
Definition at line 31 of file lazy_prvalue.hpp.