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

Function selfinc

include/covscript/impl/type_ext.hpp:82–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80
81 template <typename T>
82 static inline void selfinc(T &val)
83 {
84 throw lang_error("Type " + cs_impl::cxx_demangle(cs_impl::get_name_of_type<T>()) + " does not support ++ operator.");
85 }
86
87 template <typename T>
88 static inline void selfdec(T &val)

Callers 1

selfincMethod · 0.85

Calls 2

lang_errorClass · 0.85
cxx_demangleFunction · 0.85

Tested by

no test coverage detected