RESTinio
|
A builder of an instance of growable_size_chain. More...
#include <growable_size.hpp>
Public Member Functions | |
builder_t () | |
std::unique_ptr< growable_size_chain_t > | release () noexcept |
Stop adding of new handlers and acquire the chain instance. | |
template<typename Handler> | |
void | add (Handler &&handler) |
Add a new handler to the chain. |
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.
|
inlinenodiscardnoexcept |
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.