to_string -- basic_stacktrace : GCCで動作確認

1 · cpprefjp · May 13, 2024, 7:33 a.m.
diff --git a/reference/stacktrace/basic_stacktrace/to_string.md b/reference/stacktrace/basic_stacktrace/to_string.md index ad35d05a0..130a11475 100644 --- a/reference/stacktrace/basic_stacktrace/to_string.md +++ b/reference/stacktrace/basic_stacktrace/to_string.md @@ -31,7 +31,7 @@ namespace std { #include <stacktrace> void g() { - std::string trace = std::stacktrace::current().to_string(); + std::string trace = std::to_string(std::stacktrace::current()); std::cout << trace << std::endl...