Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template symbol_location_ptr

boost::dll::symbol_location_ptr

Synopsis

// In header: <boost/dll/runtime_symbol_info.hpp>


template<typename T> 
   
  ( ptr_to_symbol,  ec);

Description

On success returns full path and name to the binary object that holds symbol pointed by ptr_to_symbol.

Examples:

Parameters:

ec

Variable that will be set to the result of the operation.

ptr_to_symbol

Pointer to symbol which location is to be determined.

Returns:

Path to the binary object that holds symbol or empty path in case error.

Throws:

std::bad_alloc in case of insufficient memory. Overload that does not accept boost::dll::fs::error_code also throws boost::dll::fs::system_error.

PrevUpHomeNext