...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_ALIAS_SECTIONED — Same as BOOST_DLL_ALIAS but puts alias name into the user specified section.
// In header: <boost/dll/alias.hpp>
BOOST_DLL_ALIAS_SECTIONED(FunctionOrVar, AliasName, SectionName)
Example:
namespace foo { void bar(std::string&); BOOST_DLL_ALIAS_SECTIONED(foo::bar, foo_bar, sect_1) // section "sect_1" now exports "foo_bar" }
Parameters: |
|