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

Function selfdec

include/covscript/impl/type_ext.hpp:88–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86
87 template <typename T>
88 static inline void selfdec(T &val)
89 {
90 throw lang_error("Type " + cs_impl::cxx_demangle(cs_impl::get_name_of_type<T>()) + " does not support -- operator.");
91 }
92
93 template <typename T>
94 static inline bool compare(const T &a, const T &b)

Callers 1

selfdecMethod · 0.85

Calls 2

lang_errorClass · 0.85
cxx_demangleFunction · 0.85

Tested by

no test coverage detected