Search code examples
boostopen-source

How to find the source code for boost.org libraries?


The Boost Software License shows that software under this license is open-source. However, I can only find .hpp headers on boost.org's site and downloaded libraries. How to find the source code of the implementations of boost.org's libraries?


Solution

  • For the boost libraries that aren't header-only, their source code can be found in the libs directory.
    E.g. for boost::filesystem:

    .../boost_1_63_0/libs/filesystem/src
    

    Note: the libs directory is quite useful for all boost libraries, not just the non header-only libraries, since it usually contains library specific example and test code.