MCPcopy Create free account
hub / github.com/covscript/covscript / make

Method make

include/covscript/core/variable.hpp:914–920  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

912
913 template <typename T, typename... ArgsT>
914 static any make(ArgsT &&...args)
915 {
916 proxy *dat = get_allocator().alloc();
917 dat->protect_level = 0;
918 dat->data.construct_store<cs_impl::var_storage_t<T>>(std::forward<ArgsT>(args)...);
919 return any(dat);
920 }
921
922 template <typename T, typename... ArgsT>
923 static any make_protect(ArgsT &&...args)

Callers

nothing calls this directly

Calls 2

allocMethod · 0.80
anyClass · 0.70

Tested by

no test coverage detected