MCPcopy Create free account
hub / github.com/ThePhD/sol2 / new_usertype

Method new_usertype

include/sol/table.hpp:36–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 template <bool is_global, typename base_type>
35 template <typename Class, typename Key>
36 usertype<Class> basic_table_core<is_global, base_type>::new_usertype(Key&& key) {
37 constant_automagic_enrollments<> enrollments {};
38 return this->new_usertype<Class>(std::forward<Key>(key), std::move(enrollments));
39 }
40
41 template <bool is_global, typename base_type>
42 template <typename Class, typename Key, automagic_flags enrollment_flags>

Callers

nothing calls this directly

Calls 4

clear_flagsFunction · 0.85
lua_stateMethod · 0.45
setMethod · 0.45
tuple_setMethod · 0.45

Tested by

no test coverage detected