Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Macro BOOST_DLL_SECTION

BOOST_DLL_SECTION — Macro that puts symbol to a specific section. On MacOS all the sections are put into "__DATA" segment.

Synopsis

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

BOOST_DLL_SECTION(SectionName, Permissions)

Description

Parameters:

Permissions

Can be "read" or "write" (without quotes!).

SectionName

Name of the section. Must be a valid C identifier without quotes not longer than 8 bytes.


PrevUpHomeNext