[tab:support.srcloc.current] (original) (raw)

🔗

Element

Value

🔗

line_

A presumed line number ([cpp.predefined]).

Line numbers are presumed to be 1-indexed; however, an implementation is encouraged to use 0 when the line number is unknown.

🔗

column_

An implementation-defined value denoting some offset from the start of the line denoted by line_.

Column numbers are presumed to be 1-indexed; however, an implementation is encouraged to use 0 when the column number is unknown.

🔗

file_name_

A presumed name of the current source file ([cpp.predefined]) as an ntbs.

🔗

function_name_

A name of the current function such as in __func__ ([dcl.fct.def.general]) if any, an empty string otherwise.