MCPcopy Create free account
hub / github.com/BehaviorTree/BehaviorTree.CPP / construct

Method construct

include/behaviortree_cpp/contrib/any.hpp:438–445  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

436 /// assigns the correct vtable, and constructs the object on our storage.
437 template<typename ValueType>
438 void construct(ValueType&& value)
439 {
440 using T = typename std::decay<ValueType>::type;
441
442 this->vtable = vtable_for_type<T>();
443
444 do_construct<ValueType,T>(std::forward<ValueType>(value));
445 }
446};
447
448

Callers 1

anyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected