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

Function minus

include/covscript/impl/type_ext.hpp:70–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68
69 template <typename T>
70 static inline var minus(const T &val)
71 {
72 throw lang_error("Type " + cs_impl::cxx_demangle(cs_impl::get_name_of_type<T>()) + " does not support -val operator.");
73 }
74
75 template <typename T>
76 static inline var &escape(T &val)

Callers 1

minusMethod · 0.85

Calls 2

lang_errorClass · 0.85
cxx_demangleFunction · 0.85

Tested by

no test coverage detected