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.
Prev Up HomeNext

BOOST_OUTCOME_THREAD_LOCAL

Compiler-specific markup used to mark variables as having thread local storage duration.

note

This isn’t used inside Outcome, but is used by its unit test suite.

Overridable: Define before inclusion.

Default: To thread_local if the compiler implements C++ 11 thread_local, else __thread for the one supported compiler (older Mac OS XCode) which does not.

Header: <boost/outcome/config.hpp>

Last revised: December 12, 2018 at 22:01:42 UTC


Prev Up HomeNext