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

Function mul

include/covscript/impl/type_ext.hpp:46–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44
45 template <typename T>
46 static inline var mul(const T &lhs, const var &rhs)
47 {
48 throw lang_error("Type " + cs_impl::cxx_demangle(cs_impl::get_name_of_type<T>()) + " does not support * operator.");
49 }
50
51 template <typename T>
52 static inline var div(const T &lhs, const var &rhs)

Callers 1

mulMethod · 0.85

Calls 2

lang_errorClass · 0.85
cxx_demangleFunction · 0.85

Tested by

no test coverage detected