MCPcopy Create free account
hub / github.com/boostorg/parser / negate

Function negate

include/boost/parser/detail/numeric.hpp:667–670  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

665
666 template<typename T>
667 T negate(bool neg, T n)
668 {
669 return neg ? -n : n;
670 }
671
672 template <typename T, typename RealPolicies>
673 struct extract_real

Callers 1

parseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected