MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / prefix_decrement

Function prefix_decrement

include/chaiscript/dispatchkit/operators.hpp:90–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88
89 template<typename T>
90 void prefix_decrement(Module& m)
91 {
92 m.add(chaiscript::fun([](T &lhs)->T&{return --lhs;}), "--");
93 }
94
95 template<typename T>
96 void prefix_increment(Module& m)

Callers

nothing calls this directly

Calls 2

funFunction · 0.85
addMethod · 0.45

Tested by

no test coverage detected