Function boost_plugin_loader::loadLibrary

Function Documentation

std::optional<boost::dll::shared_library> boost_plugin_loader::loadLibrary(const boost::filesystem::path &library_path)

Attempt to load library give library name and directory.

Parameters:
  • library_name – The library name to load which does not include the prefix ‘lib’ or suffix ‘.so’

  • library_directory – The library directory, if empty it will enable search system directories

Returns:

A shared library