GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::experimental::source_location::current(3) C++ Standard Libary std::experimental::source_location::current(3)

std::experimental::source_location::current - std::experimental::source_location::current


static constexpr source_location current() noexcept; (library fundamentals TS v2)


Constructs a new source_location object.


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. The 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.


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.


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.


(none)


constructor constructs a new source_location with implementation-defined values
(public member function)

2022.07.31 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.