MCPcopy Create free account
hub / github.com/ArashPartow/exprtk / next_value

Function next_value

exprtk_test.cpp:9899–9907  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9897 }
9898
9899 T next_value(const bool reset = false)
9900 {
9901 static T value = 0;
9902
9903 if (reset)
9904 return (value = 0);
9905 else
9906 return ++value;
9907 }
9908};
9909
9910template <typename T>

Callers 1

processFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected