Lines Matching defs:empty
28 // Default constructor so an empty Status object can be created.
41 // Copy/move constructors. Move constructor leaves |other| object in empty
55 T empty;
56 std::swap(other.value_, empty);
67 T empty;
68 std::swap(value_, empty);
75 if (!other.ok() && !other.empty()) {
83 // This means, the object is not empty and does not contain an error code.
86 // Checks if the object is empty (doesn't contain a valid value nor an error).
87 bool empty() const { return error_ < 0; }
103 // is not empty nor containing a valid value).
120 // is not empty nor containing a valid value).
145 if (!other.ok() && !other.empty()) {
153 bool empty() const { return false; }