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

Function sub

include/covscript/impl/type_ext.hpp:40–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38
39 template <typename T>
40 static inline var sub(const T &lhs, const var &rhs)
41 {
42 throw lang_error("Type " + cs_impl::cxx_demangle(cs_impl::get_name_of_type<T>()) + " does not support - operator.");
43 }
44
45 template <typename T>
46 static inline var mul(const T &lhs, const var &rhs)

Callers 1

subMethod · 0.85

Calls 2

lang_errorClass · 0.85
cxx_demangleFunction · 0.85

Tested by

no test coverage detected