Porytiles
|
A wrapper for std::string_view with a taggable std::source_location. More...
#include <panic.hpp>
Public Member Functions | |
template<class T > requires std::constructible_from<std::string_view, T> | |
StringViewSourceLoc (const T &msg, std::source_location loc=std::source_location::current()) noexcept | |
Public Attributes | |
std::string_view | msg_ |
std::source_location | loc_ |
A wrapper for std::string_view with a taggable std::source_location.
Inspired by: https://buildingblock.ai/panic
|
inlinenoexcept |