end -- basic_stacktrace : GCCで動作確認

1 · cpprefjp · May 13, 2024, 7:33 a.m.
diff --git a/reference/stacktrace/basic_stacktrace/end.md b/reference/stacktrace/basic_stacktrace/end.md index c194a257d..3b273a803 100644 --- a/reference/stacktrace/basic_stacktrace/end.md +++ b/reference/stacktrace/basic_stacktrace/end.md @@ -27,7 +27,7 @@ void g() { std::stacktrace st = std::stacktrace::current(); std::for_each(st.begin(), st.end(), [](const std::stacktrace_entry& x) { std::cout << x << std::endl; - }): + }); } void f() { @@ -43,11 +43,15 @@ int main() { * c...