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

Function prefix_increment

include/chaiscript/dispatchkit/operators.hpp:96–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94
95 template<typename T>
96 void prefix_increment(Module& m)
97 {
98 m.add(chaiscript::fun([](T &lhs)->T&{return ++lhs;}), "++");
99 }
100
101 template<typename T>
102 void equal(Module& m)

Callers

nothing calls this directly

Calls 2

funFunction · 0.85
addMethod · 0.45

Tested by

no test coverage detected