![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Source location utility. More...
#include <source_location>#include <string>Go to the source code of this file.
Classes | |
| struct | SourceLocation |
| provide information about the source location More... | |
Namespaces | |
| namespace | shambase |
| namespace for basic c++ utilities | |
Functions | |
| std::string | shambase::format_multiline (std::source_location loc) |
| format the location in multiple lines | |
| std::string | shambase::format_multiline (std::source_location loc, const std::string &stacktrace) |
| format the location in multiple lines with a given stacktrace | |
| std::string | shambase::format_one_line (std::source_location loc) |
| format the location in a one liner | |
| std::string | shambase::format_one_line_func (std::source_location loc) |
| format the location in a one liner with the function name displayed | |