Lines Matching defs:value
21 const T& value() const { return value_; }
24 void SetValue(const T& value) {
26 value_ = value;
45 if (capture_->has_value()) *os << " which has value " << capture_->value();
48 virtual bool MatchAndExplain(T value, MatchResultListener* listener) const {
50 capture_->SetValue(value);
53 if (value != capture_->value()) {
54 *listener << "which is not equal to " << capture_->value();
76 // CaptureEq(capture) captures the value passed in during matching as long as it
77 // is unset, and once set, compares the value for equality with the argument.
84 // Creates a polymorphic matcher that matches any floating point NaN value.