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

Function div

include/covscript/impl/type_ext.hpp:52–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50
51 template <typename T>
52 static inline var div(const T &lhs, const var &rhs)
53 {
54 throw lang_error("Type " + cs_impl::cxx_demangle(cs_impl::get_name_of_type<T>()) + " does not support / operator.");
55 }
56
57 template <typename T>
58 static inline var mod(const T &lhs, const var &rhs)

Callers 1

divMethod · 0.85

Calls 2

lang_errorClass · 0.85
cxx_demangleFunction · 0.85

Tested by

no test coverage detected