bad_expected_access -- expected: unexpected,unexpect_t,bad_expected_access概要(#1066)

1 · cpprefjp · Jan. 26, 2023, 2:33 p.m.
diff --git a/reference/expected/bad_expected_access.md b/reference/expected/bad_expected_access.md new file mode 100644 index 000000000..b4ec99ce1 --- /dev/null +++ b/reference/expected/bad_expected_access.md @@ -0,0 +1,81 @@ +# bad_expected_access +* expected[meta header] +* class template[meta id-type] +* std[meta namespace] +* cpp23[meta cpp] + +```cpp +namespace std { + template<class E> + class bad_expected_access : public bad_expected_access<void> { ... }; + + // void特殊化 + template<> +...