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

Class cni_register

include/covscript/cni.hpp:306–313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304
305namespace cni_namespace_impl {
306 class cni_register final {
307 public:
308 template <typename T>
309 cni_register(const cs::namespace_t &ns, const char *name, T &&val)
310 {
311 ns->add_var(name, std::forward<T>(val));
312 }
313 };
314
315 template <typename T>
316 cs::var make_var_normal(const T &val)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected