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

Function mod

include/covscript/impl/type_ext.hpp:58–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56
57 template <typename T>
58 static inline var mod(const T &lhs, const var &rhs)
59 {
60 throw lang_error("Type " + cs_impl::cxx_demangle(cs_impl::get_name_of_type<T>()) + " does not support \% operator.");
61 }
62
63 template <typename T>
64 static inline var pow(const T &lhs, const var &rhs)

Callers 1

modMethod · 0.85

Calls 2

lang_errorClass · 0.85
cxx_demangleFunction · 0.85

Tested by

no test coverage detected