| 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 |