C++Spec 1.0.0
BDD testing for C++
|
A container that memoizes the result of a block in `it's. More...
#include <let.hpp>
Public Member Functions | |
Let (block_t body) noexcept | |
T * | operator-> () |
T & | operator* () & |
T & | value () & |
Get the value contained in the Let. | |
![]() | |
LetBase (const LetBase ©)=default | |
void | reset () noexcept |
constexpr bool | has_result () const noexcept |
Additional Inherited Members | |
![]() | |
bool | delivered {false} |
A container that memoizes the result of a block in `it's.
@tparm T the type of the object that the Let will contain, aka return type of the block.
T & CppSpec::Let< T >::value | ( | ) | & |
Get the value contained in the Let.