System::Build method

System::Build method

Build an object with direct ownership.

template<typename T,typename...> Details::ObjectBuilder<T> System::Build(Args &&... args)
ParameterDescription
TType of object to build
ArgsArgument types for object construction
ParameterTypeDescription
argsArgs&&…Arguments to forward to object constructor

ReturnValue

ObjectBuilder configured for direct object construction

Remarks

Object construction must be finished with Get() call

See Also