17 Language support library [support]

17.8 Source location [support.srcloc]

17.8.2 Class source_location [support.srcloc.class]

17.8.2.3 Observers [support.srcloc.obs]

constexpr uint_least32_t line() const noexcept;
Returns: line_.
constexpr uint_least32_t column() const noexcept;
Returns: column_.
constexpr const char* file_name() const noexcept;
Returns: file_name_.
constexpr const char* function_name() const noexcept;
Returns: function_name_.

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant