MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / basic_constructors

Function basic_constructors

include/chaiscript/dispatchkit/bootstrap.hpp:94–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92 /// \sa constructor
93 template<typename T>
94 void basic_constructors(const std::string &type, Module& m)
95 {
96 m.add(constructor<T ()>(), type);
97 copy_constructor<T>(type, m);
98 }
99
100 /// \brief Adds a constructor for a POD type
101 /// \tparam T The type to add the constructor for

Callers

nothing calls this directly

Calls 1

addMethod · 0.45

Tested by

no test coverage detected