|
Graphle 1.0.0
A C++20 header-only graph library
|
#include <storage_provider_helpers.hpp>
Public Member Functions | |
| provide_external (T &value, std::bool_constant< ReturnCleared >={}) | |
| constexpr auto & | operator() (void) const noexcept |
Storage provider that returns an existing copy of T (owned by the caller) whenever it is invoked, clearing it before each usage with T::clear(), unless ReturnCleared is set to false. The provided storage object must remain valid for the duration of the lifetime of the provide_external provider that it is wrapped in.
Definition at line 62 of file storage_provider_helpers.hpp.
|
inlineexplicit |
Definition at line 64 of file storage_provider_helpers.hpp.
|
inlineconstexprnoexcept |
Definition at line 66 of file storage_provider_helpers.hpp.