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
Ah nice: we can just offer std::source_location::current()) as a default argument and it will tell us in the exception message where the error occured in the code.
Is your feature request related to a problem?
When an
InexorException
is thrown, we don't store any information about the source location in it.Description
We could use the new C++20 feature std::source_location to store information about the origin of the exception.
Alternatives
Do not use
std::source_location
at allAffected Code
all of the code
Operating System
all operating systems
Additional Context
https://en.cppreference.com/w/cpp/utility/source_location
The text was updated successfully, but these errors were encountered: