MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / equalTo

Function equalTo

lib/vfvalue.h:172–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170
171 template<class T, REQUIRES("T must be an arithmetic type", std::is_arithmetic<T> )>
172 bool equalTo(const T& x) const {
173 bool result = false;
174 visitValue(*this, std::bind(equalVisitor{}, std::ref(result), x, std::placeholders::_1));
175 return result;
176 }
177
178 void decreaseRange() {
179 if (bound == Bound::Lower)

Callers

nothing calls this directly

Calls 1

visitValueFunction · 0.85

Tested by

no test coverage detected