👩💻 Join our community of thousands of amazing developers!
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...