...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::dll::this_line_location
// In header: <boost/dll/runtime_symbol_info.hpp> boost::filesystem::path this_line_location(boost::system::error_code & ec); boost::filesystem::path this_line_location();
On success returns full path and name of the binary object that holds the current line of code (the line in which the `this_line_location()` method was called).
Parameters: |
|
||
Throws: |
std::bad_alloc in case of insufficient memory. Overload that does not accept boost::system::error_code also throws boost::system::system_error. |