We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcc8630 commit d418f5dCopy full SHA for d418f5d
absl/strings/charconv.h
@@ -47,6 +47,10 @@ enum class chars_format {
47
struct from_chars_result {
48
absl::Nonnull<const char*> ptr;
49
std::errc ec;
50
+
51
+ bool operator==(const from_chars_result&) = default;
52
53
+ constexpr explicit operator bool() const noexcept { return ec == std::errc{}; }
54
};
55
56
// Workalike compatibility version of std::from_chars from C++17. Currently
0 commit comments