[#SourceLocation-2constructor] = xref:SourceLocation.adoc[SourceLocation]::SourceLocation :relfileprefix: ../ :mrdocs: Construct from a function name and a source location. The func argument must be constructed from the C++11 *func* macro. Ref: https://en.cppreference.com/w/cpp/language/function.html#func Non‐static string literals are not supported. == Synopsis Declared in `<util/log.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit SourceLocation( char const* func, std::source_location loc = std::source_location::current()); ---- == Parameters [cols="1,4"] |=== | Name| Description | *func* | The overriding function name (from *func*). | *loc* | The underlying source location, defaulting to the call site. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#