System::Build 方法

System::Build method

构建具有直接所有权的对象。

template<typename T,typename...> Details::ObjectBuilder<T> System::Build(Args &&... args)
参数描述
T要构建的对象类型
参数对象构造的参数类型
参数类型描述
argsArgs\&&…转发给对象构造函数的参数

ReturnValue

ObjectBuilder 配置为直接对象构造

备注

Object construction must be finished with Get() call

另见