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 schedulers and acquire the chain instance. | |
template<typename Scheduler > | |
void | add (Scheduler &&scheduler) |
Add a new scheduler 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 275 of file growable_size.hpp.
|
inline |
Definition at line 278 of file growable_size.hpp.
|
inline |
Add a new scheduler to the chain.
Definition at line 301 of file growable_size.hpp.
|
inlinenoexcept |
Stop adding of new schedulers and acquire the chain instance.
Definition at line 291 of file growable_size.hpp.
|
private |
Definition at line 315 of file growable_size.hpp.