operator bool -- charconv : C++26対応としてfrom_chars_result / to_chars_resultにoperator boolを追加 (close #1179)

1 · cpprefjp · Jan. 25, 2024, 5:33 a.m.
diff --git a/reference/charconv/from_chars_result/op_bool.md b/reference/charconv/from_chars_result/op_bool.md new file mode 100644 index 000000000..495733b41 --- /dev/null +++ b/reference/charconv/from_chars_result/op_bool.md @@ -0,0 +1,58 @@ +# operator bool +* charconv[meta header] +* std[meta namespace] +* from_chars_result[meta class] +* function[meta id-type] +* cpp26[meta cpp] + +```cpp +constexpr explicit operator bool() const noexcept; +``` + +## 概要 +変換が成功したかを判定する。 + + +## 戻り値 +```cpp +...