Library:Boost
Appearance
| License | BSL-1.0 |
|---|---|
| Website | https://www.boost.org |
| On this wiki | Facts · Code · Notes · Topics |
The Boost C++ libraries (Boost Software License 1.0), mostly header-only; binaries show boost:: RTTI names, boost_<lib>-<toolset>-mt-x64-<ver> DLL names, and error categories such as asio.misc.
Identification
- Version: BOOST_VERSION is major100000 + minor100 + patch (boost/version.hpp: 109300 on develop means 1.93.0); BOOST_LIB_VERSION is the string "1_93". Compiled libraries on Windows use auto-link names
boost_<lib>-<toolset>[-mt][-gd]-<x32|x64>-<version>.lib/.dll, for exampleboost_filesystem-vc143-mt-x64-1_93.dll; the toolset tokens (vc141, vc142, vc143, ...) come from config/auto_link.hpp, so a DLL name gives both Boost version and MSVC toolset. - RTTI:
boost::names in typeinfo,boost::asio::detail::,boost::system::error_category,boost::exception_detail::clone_impl<...>,boost::beast::. See Technique:Recovering C++ class metadata. - boost::asio error categories (error.ipp):
asio.system(std errno via system category),asio.netdb,asio.addrinfo,asio.misc,asio.ssl,asio.ssl.stream. See Fact:Boost/string/asio error category names. - boost::system error_category::name() of the generic category is "generic" and of the system one "system" (Unverified here).
Pitfalls
Most of Boost is templates inlined into the program; only a few libraries (system, filesystem, thread, regex, chrono, program_options, serialization, iostreams) are compiled.
Code & repositories
- https://github.com/boostorg (BSL-1.0); files read: config/include/boost/version.hpp, auto_link.hpp, asio/include/boost/asio/impl/error.ipp
- https://github.com/boostorg/asio @
a7dc25b4cb6c49a6946d86ea20664f1027203225· license: BSL-1.0 (declared by the contributor; GitHub's detector did not recognize a license file)
asio error categories (error.ipp).
Tested on: source read, not run: source read · checked 2026-10-18; last activity 2026-08-12