Skip to content

Draft:Use std::source_location in assertions

Stuart Dilts requested to merge std--source_location-for-assert into master

Use the fancy new std::source_location class to get the source location in assertion macros. Sadly, it doesn't look like something equivalent to the '#' macro operator was introduced in C++20, so we can't replace the macro with a normal function.

Draft because we are waiting for better compiler support.

Merge request reports