RESTinio
|
A builder of an instance of growable_size_chain. More...
#include <growable_size.hpp>
Public Member Functions | |
builder_t () | |
RESTINIO_NODISCARD std::unique_ptr< growable_size_chain_t > | release () noexcept |
Stop adding of new handlers and acquire the chain instance. More... | |
template<typename Handler > | |
void | add (Handler &&handler) |
Add a new handler to the chain. More... | |
Private Attributes | |
std::unique_ptr< growable_size_chain_t > | m_chain |
A builder of an instance of growable_size_chain.
Creates an empty instance of growable_size_chain_t in the constructor. That instance can be obtained by release() method.
Definition at line 183 of file growable_size.hpp.
|
inline |
Definition at line 186 of file growable_size.hpp.
|
inline |
Add a new handler to the chain.
Definition at line 209 of file growable_size.hpp.
|
inlinenoexcept |
Stop adding of new handlers and acquire the chain instance.
Definition at line 199 of file growable_size.hpp.
|
private |
Definition at line 223 of file growable_size.hpp.