auto type = gobot::Type::get_by_name("NodePath"); auto var2 = type.create();
The piece of code show creating a NodePath type and using this type to create a new instance(call constructor of NodePath, and using policy CtorAsObject).
Even though, rttr support call contructor with parameter, but we always using non-parameter constructor because we don't want to memorize parameter counts and type of contructor.
auto type = gobot::Type::get_by_name("NodePath"); auto var2 = type.create();
The piece of code show creating a NodePath type and using this type to create a new instance(call constructor of NodePath, and using policy CtorAsObject).
Even though, rttr support call contructor with parameter, but we always using non-parameter constructor because we don't want to memorize parameter counts and type of contructor.