LiteFX::Builder::use¶
Called by child builders to pass a constructed object back to the parent builder.
Synopsis¶
Declared in <litefx/containers.hpp>
template<typename TInstance>
void use(pointer_type&&) noexcept = delete;
Description¶
This method must be implemented for each child builder, a builder can create. This introduces a hard dependency between child and parent builders. It is not possible to define a child builder without implementing the counter part in the parent builder.