std::experi...ion::current(3)
πΈ NAME πΈ
okay so bestie, welcome to the std::experi...ion::current(3) page β it's from the C++ Standard Libary, and the NAME situation is serving duplicate realness:
std::experimental::source_location::currentβstd::experimental::source_location::current
periodt. π
β¨ Synopsis β¨
static constexpr source_location current() noexcept;
This is the (library fundamentals TS v2) version, and it constructs a new source_location object. π«Ά
π Return value π
If current() is invoked directly (via a function call that names current()), it returns a source_location object with implementation-defined values representing the location of the call. Those values should be affected by the #line preprocessor directive in the same manner as the predefined macros __LINE__ and __FILE__. β¨
If current() is invoked in any other manner, the return value is unspecified. π That's the vibe check β don't count on it.
π Remarks
If current() is used in an initializer for a non-static data member, the return value corresponds to the location of the constructor or aggregate initialization that initializes the data member. π§
π Notes π
When current() is used in a default argument, the return value will correspond to the location of the call to current() at the call site. π
π¦ Parameters π¦
(none) β literally none, bestie. π
π₯ See also π₯
constructorβ constructs a newsource_locationwith implementation-defined values (public member function).
cute sign-off time: source http://cppreference.com, version/date 2024.06.10, page std::experi...ion::current(3) β slay, bye bestie! ππ
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms