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

Function copy_constructor

include/chaiscript/dispatchkit/bootstrap.hpp:64–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62 /// \returns The passed in Module
63 template<typename T>
64 void copy_constructor(const std::string &type, Module& m)
65 {
66 m.add(constructor<T (const T &)>(), type);
67 }
68
69 /// \brief Add all comparison operators for the templated type. Used during bootstrap, also available to users.
70 /// \tparam T Type to create comparison operators for

Callers

nothing calls this directly

Calls 1

addMethod · 0.45

Tested by

no test coverage detected