| 281 | |
| 282 | template <typename... Args> |
| 283 | static Status AlreadyExists(Args&&... args) { |
| 284 | return Status::FromArgs(StatusCode::AlreadyExists, std::forward<Args>(args)...); |
| 285 | } |
| 286 | |
| 287 | /// Return true iff the status indicates success. |
| 288 | constexpr bool ok() const { return (state_ == NULLPTR); } |