std::experi...ion::current(3) C++ Standard Libary std::experi...ion::current(3) NAME std::experimental::source_location::current - std::experimental::source_lo- cation::current Synopsis static constexpr source_location current() noexcept; (library fundamen- tals TS v2) Constructs a new source_location object. Return value If current() is invoked directly (via a function call that names cur- rent()), it returns a source_location object with implementation-defined values rep- resenting the location of the call. The values should be affected by the #line pre- processor directive in the same manner as the predefined macros __LINE__ and __FILE__. If current() is invoked in any other manner, the return value is unspec- ified. 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 ini- tialization that initializes the data member. Notes When current() is used in a default argument, the return value will cor- respond to the location of the call to current() at the call site. Parameters (none) See also constructor constructs a new source_location with implementation-de- fined values (public member function) http://cppreference.com 2024.06.10 std::experi...ion::current(3)
NAME | Synopsis | Return value | Notes | Parameters | See also
Want to link to this manual page? Use this URL:
<https://man.FreeBSD.org/cgi/man.cgi?query=std::experimental::source_location::current&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>