MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / construct

Method construct

extlibs/sol3/include/sol/sol.hpp:5723–5727  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5721 struct default_construct {
5722 template <typename T, typename... Args>
5723 static void construct(T&& obj, Args&&... args) {
5724 typedef meta::unqualified_t<T> Tu;
5725 std::allocator<Tu> alloc{};
5726 std::allocator_traits<std::allocator<Tu>>::construct(alloc, std::forward<T>(obj), std::forward<Args>(args)...);
5727 }
5728
5729 template <typename T, typename... Args>
5730 void operator()(T&& obj, Args&&... args) const {

Callers 6

optional_copy_baseMethod · 0.45
optional_move_baseMethod · 0.45
optionalFunction · 0.45
sol.hppFile · 0.45
emplaceFunction · 0.45
optional<T&>Class · 0.45

Calls 1

constructFunction · 0.85

Tested by

no test coverage detected