A simple struct that holds source code location information. Usually, this is information about a caller of a function, used with debug-compilations. Module ALox might be explicitly compiled to include such caller information also in release-versions of software.
Definition at line 27 of file callerinfo.inl.
Public Field Index: | |
const char * | File {nullptr} |
The name of the source file as given by compiler. | |
const char * | Func {nullptr} |
int | Line {0} |
The line number within File. | |
std::thread::id | ThreadID |
The ID of the calling thread. | |
const std::type_info * | TypeInfo {nullptr} |
The calling type. | |
const char* alib::lang::CallerInfo::File {nullptr} |
The name of the source file as given by compiler.
Definition at line 29 of file callerinfo.inl.
const char* alib::lang::CallerInfo::Func {nullptr} |
The function name of the source location. Nulled if the location is not inside a function or method.
Definition at line 31 of file callerinfo.inl.
int alib::lang::CallerInfo::Line {0} |
The line number within File.
Definition at line 30 of file callerinfo.inl.
std::thread::id alib::lang::CallerInfo::ThreadID |
The ID of the calling thread.
Definition at line 35 of file callerinfo.inl.
const std::type_info* alib::lang::CallerInfo::TypeInfo {nullptr} |
The calling type.
Definition at line 37 of file callerinfo.inl.