You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const auto a = hello(""); // C++26: 呼び出し側でコンパイルエラー
27
+
const auto b = hello("Hana");
28
+
29
+
try {
30
+
const auto c = hello(""); // C++26: 例外を捕捉
31
+
} catch (const validation_error &) {
32
+
// everything is fine
33
+
}
34
+
35
+
// C++23: concat関数の深い場所にあるthrow式側でコンパイルエラー
36
+
// C++26: 呼び出し側で「文字列が長すぎる」のようなコンパイルエラーになる
37
+
const auto d = hello("Adolph Blaine Charles David Earl Frederick Gerald Hubert Irvin John Kenneth Lloyd Martin Nero Oliver Paul Quincy Randolph Sherman Thomas Uncas Victor William Xerxes Yancy Zeus");
-[N2179 Language Support for Transporting Exceptions between Threads](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2179.html)
90
95
-[Can I use `std::current_exception` during stack unwinding? - StackOverflow](http://stackoverflow.com/questions/28267484/can-i-use-stdcurrent-exception-during-stack-unwinding)
0 commit comments