Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template symbol_location

boost::dll::symbol_location

Synopsis

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


template<typename T> 
   
  ( symbol,  ec);

Description

On success returns full path and name of the binary object that holds symbol.

Examples:

Parameters:

ec

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

symbol

Symbol which location is to be determined.

Template Parameters:

T

Type of the symbol, must not be explicitly specified.

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