chromium / subspace

A concept-centered standard library for C++20, enabling safer and more reliable products and a more modern feel for C++ code.; Also home of Subdoc the code-documentation generator.
https://suslib.cc
Apache License 2.0
89 stars 15 forks source link

Consider plumbing a std::source_location into methods that panic #327

Open danakj opened 1 year ago

danakj commented 1 year ago

Without that, panics show as being inside the Option/Result class and you need a stack trace to know more. But with the source location coming from there, you'd get to see the caller outside the class.