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 a snapshot of the develop branch, built from commit 65ab21cc6f.
PrevUpHomeNext

Configuration Preprocessor Definitions

A number of configuration preprocessor definitions can be used to change the behavior of Beast. The user should assume that they introduce significant changes to the public part of this library's API and make sure that all translation units (usually files) compiled and linked into a program use the same combination of configuration macros, failure to do so may result in violations of ODR (One Definition Rule).

Table 1.14. Special Fields

Definition

Description

BOOST_BEAST_SEPARATE_COMPILATION

Enables the split compilation mode, which allows the user to compile definitions of non-template entities in a single translation unit, thus improving compilation speed. That translation unit has to include boost/beast/src.hpp in order to compile the definitions.

BOOST_BEAST_ALLOW_DEPRECATED

Enables the use of deprecated APIs within Beast.

BOOST_BEAST_FILE_BUFFER_SIZE

Sets the small buffer size for the file_body. Defaults to 4096.



PrevUpHomeNext