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

Version 1.65.0

Version 1.65.0

August 21st, 2017 20:50 GMT

Documentation

Downloads
PlatformFileSHA256 Hash
unixboost_1_65_0.tar.bz2ea26712742e2fb079c2a566a31f3266973b76e38222b9f88b387e3c8b2f9902c
boost_1_65_0.tar.gz8a142d33ab4b4ed0de3abea3280ae3b2ce91c48c09478518c73e5dd2ba8f20aa
windowsboost_1_65_0.7z4873d8f3506fd8d76e2eadcf0ace83b258010fc268a4d974361af7abad5448f5
boost_1_65_0.zipf3f5c37be45eb6516c95cd147d8aa4abb9b52121fc3eccc1fc65c4af0cf48592

Third Party Downloads

New Libraries

  • PolyCollection: Fast containers of polymorphic objects, from Joaquín M López Muñoz.
  • Stacktrace: Gather, store, copy and print backtraces, from Antony Polukhin.
    • Note: Library has issue with MinGW and may produce empty backtraces with that compiler.

Updated Libraries

  • Asio:
    • Changed to require g++ versions >= 4.7 to use standard atomics, to fix a linker error when using g++ 4.6 (#13121).
    • Enabled use of constexpr and variadic templates with recent MSVC versions.
    • Fixed a race condition in the Linux epoll backend, which may occur when a socket or descriptor is closed while another thread is blocked on epoll.
    • Eliminated use of deprecated auto_ptr.
    • Fixed misplaced use of asio_handler_is_continuation result in reactive async_accept implementation.
    • Changed to use poll.h rather than sys/poll.h on some modern POSIX platforms (#12419).
    • Fixed MSVC intellisense detection.
    • Disabled use of the __thread keyword extension for android/clang/x86 targets.
  • Context:
    • call/cc supports ucontext-API (swapcontext)
    • call/cc supports Windows-Fiber-API
    • call/cc supports on demand growing (segmented/split) stacks
    • #12719: context test cases and examples segmentation fault when built with mingw-w64 toolchain
    • #52: Failing to build callcc test with g++-4.9
  • Config:
    • Added BOOST_NO_CXX11_POINTER_TRAITS, BOOST_NO_CXX17_FOLD_EXPRESSIONS, BOOST_NO_CXX17_INLINE_VARIABLES, BOOST_NO_CXX17_STRUCTURED_BINDINGS defect detection.
    • BOOST_FALLTHROUGH support for GCC 7 and above. (Glen Fernandes)
  • Core:
    • Implemented pointer_traits for C++03 and higher, that implements P0653r0 (Glen Fernandes). This implementation is now used by Align, Circular Buffer, Fiber, Geometry, among other libraries.
    • Added BOOST_TEST_GT and BOOST_TEST_GE to Lightweight Test.
  • Coroutine2:
    • supports ucontext-API (swapcontext)
    • supports Windows-Fiber-API
    • #13064: different behavior coroutine and coroutine2
  • DLL:
    • Fix PE parsing on non Windows platforms.
  • Fiber:
    • hardware transactional memory (Intel TSX) supported
    • NUMA supported
    • ucontext-API (swapcontext) supported
    • Windows-Fiber-API supported
    • on demand growing stacks
    • #121: failing to build static lib with GCC 4.8 and C++11
    • #123: assertion failure in schedule_from_remote
    • #125: erratic crashes in testsuite
    • #126: incorrect std::memory_order value in compare_exchange_strong?
  • Fusion:
    • MSVC 14.1 supports variadic containers, such as fusion::vector, fusion::deque, fusion::map, fusion::set, and fusion::tuple. (#12986)
  • Geometry:
    • Improvements:
      • Add correct() overload taking area strategy
      • Add is_convex() overload taking side strategy
      • Add missing relational operations (covered_by, crosses, equals, etc.) for MultiPoint/AnyGeometry
    • Solved issues:
      • 12410 Lack of support of geographic coordinate system in correct()
      • 13035 Wrong result of non-cartesian intersection strategies for segments near poles.
      • 13057 Wrong result of intersects() for linestrings caused by numerical issue in disjoint() for boxes.
    • Bugfixes:
      • Fix is_valid which could return false for multipolygons where an interior ring touches another interior ring
      • Fix is_valid which could return false for multipolygons where a polygon was located in an interior ring, all touching each other
      • Fix union which could produce invalid results (for some cases, this needs to define BOOST_GEOMETRY_INCLUDE_SELF_TURNS)
      • Fix intersection (idem), but some cases are still not yet valid
      • Fix difference (idem), but some cases are still not yet valid
      • Fix propagation of area strategy into the internals of various algorithms from intersection strategy
      • Fix uninitialized variable in relate and reference to temporary in overlay
      • Fix error in disjoint for geographic Segment/Box
      • Fix handling of non-cartesian geometries in various algorithms
  • Hash:
    • Support for char16_t, char32_t, u16string, u32string.
  • Log:
    • General changes:
      • Improved compatibility with Solaris.
    • See changelog for more details.
  • Phoenix:
    • Corrected some documentation. (PR#50)
    • phoenix::erase with associative container returns iterator in C++11 mode. (#7423)
    • std::set and std::multiset should be worked with predefined lazy functions. (PR#52)
    • Disable phoenix::random_shuffle in C++17. (PR#53)
    • Don't forward declare, include instead. (#11875)
  • Predef:
    • Fix Intel C/C++ version 9999 detection to be 12.1.0.
    • Addition of BOOST_PREDEF_WORKAROUND and BOOST_PREDEF_TESTED_AT macros for defect workarounds and detection.
    • Add ARM64 MSVC SIMD detection. (from Minmin Gong)
    • Add detection of iOS simulator vs device as a platform choice. (from Ruslan Baratov)
    • Fix MinGW incorrect header guard. (from Ruslan Baratov)
  • Program Options:
    • Support for storing values into boost::optional, thanks to Ed Catmur (#7495, PR#18)
    • Parsing of implicit options can now use the value from the next token. Since 1.59, unless the value of implicit option was specified in the same token as the option itself, the implicit value was used. That proved inconvenient, and now we again check the next token and use it as value if it's not an option itself. (#25)
  • Python:
    • eval(), exec(), and exec_statement() now allow char const * arguments, in addition to boost::python::str.
    • The boost::python::numeric API has been removed, as it is being obsoleted by boost::python::numpy.
    • Fix some build issues when using Python3 with MSVC.
  • Smart Pointers:
    • New class templateatomic_shared_ptr, that provides thread-safe atomic pointer operations over shared_ptr. (Peter Dimov)
    • New class template local_shared_ptr, where the reference count is updated with non-atomic operations. (Peter Dimov)
    • More optimizations in allocate_shared and make_shared for arrays. (Glen Fernandes)
    • Documentation has been completely rewritten in Asciidoc format.
  • Test:
    • Boost.test v3.6 see the Change log section for more details.
    • New feature:
      • C++17 compatibility (tested on VS2017), thanks to Daniela Engert
      • Direct comparison of C-arrays in BOOST_TEST
      • Better global fixtures mechanism, and spitting of responsibilities with BOOST_TEST_GLOBAL_FIXTURE for global fixtures and BOOST_TEST_GLOBAL_CONFIGURATION for global initialization (compile time configuration).
      • Improved support for fixtures (setup / teardown member function) which enables better teardown time checks
    • Breaking changes
      • Some API changes for the loggers
      • Deprecating BOOST_GLOBAL_FIXTURE in favor of BOOST_TEST_GLOBAL_FIXTURE and BOOST_TEST_GLOBAL_CONFIGURATION (see above)
    • Bug fixes
  • TypeIndex:
    • Include <boost/functional/hash.hpp> if required, thanks to Ed Catmur #13009.
    • Use native hash_code() when possible on GCC-like compilers #13027.
    • Fix ctti_type_index for GCC 7 and later, thanks to Benjamin Buch PR16.
  • Unordered:
    • Use the same data structure for unordered_set and unordered_multiset, and forunordered_map and unordered_multimap. This is required for C++17, so that nodes can be merged and extracted between compatible containers.
    • Add deprecated attributes to long deprecated functions.
    • Improved use of allocator_traits construct and destroy on C++11 compilers, using piecewise pair construction when appropriate.
    • Fewer workarounds on newer Oracle compilers.
    • Avoid dereferencing pointers to uninitialized memory (PR #5).
  • Utility:
    • Improved compatibility of boost::next/boost::prior with SFINAE-unfriendly iterators. #10847, #13002.
  • Variant:
    • r-value overload for boost::get was added by Albert Sverdlov #13018.
    • Missing include fro <boost/variant/polymorphic_get.hpp> header was added by Adam Badura #13037.
    • boost::make_variant_over was fixed and now works with views and other Forward Sequences (thanks to Mikhail Maksimov for the fix) #8554, #10041, PR#35.

Compilers Tested

Boost's primary test compilers are:

  • Linux:
    • Clang: 3.0, 3.8.1
    • Clang, C++11: 3.0, 3.1, 3.2, 3.3, 3.4, 3.8.1
    • Clang, C++14: 3.5.0, 3.6.0, 3.7.1, 3.8.0, 3.8.1, 3.9.1, 4.0.1
    • Clang, C++1z: 4.0.0
    • GCC: 4.4.7, 4.5.3, 4.6.3, 4.7.2, 5.4.0, 7.1.0
    • GCC, C++11: 4.4.7, 4.7.2, 4.7.3, 4.8.5, 4.9.4, 5.4.0, 7.1.0
    • GCC, C++14: 5.4.0, 5.4.1, 6.3.0, 7.1.0
    • GCC, C++17: 7.1.0
    • GCC, C++1z: 6.3.0
    • Intel: 16.0, 17.0
    • Intel, C++11: 16.0, 17.0
    • Intel, C++14: 16.0
  • OS X:
    • Clang: 8.1.0
    • Clang, C++11: 8.1.0
    • Clang, C++14: 8.1.0
  • Windows:
    • GCC: 3.4.5, 4.1.2, 4.2.4, 4.3.3, 4.4.0, 4.5.4
    • GCC, C++11: 4.6.4, 4.7.3, 4.8.1
    • GCC, C++14: 4.9.3, 5.1.0, 5.2.0, 5.3.0, 6.1.0
    • Visual C++: 7.1, 8.0, 9.0, 10.0, 11.0, 12.0, 14.0, 14.1
  • Android:
    • Clang: 3.6, 3.7, 3.8
    • GCC: 4.9, 5.4
    • GCC, C++14: 6.2
  • FreeBSD:
    • Clang: 3.8.0
    • Clang, C++11: 3.8.0
    • Clang, C++14: 3.8.0
    • Clang, C++1z: 3.8.0
  • QNX:
    • QCC, C++11: 4.7.3
  • SunOS:
    • Oracle Solaris Studio: 12.5_next, 12.5
    • Oracle Solaris Studio, C++11: 12.5_next, 12.5

Boost's additional test compilers include:

  • Linux:
    • Clang: 3.0, 3.8.1
    • Clang, C++11: 3.0, 3.1, 3.2, 3.3, 3.4, 3.8.1
    • Clang, C++14: 3.5.0, 3.6.0, 3.7.1, 3.8.0, 3.8.1, 3.9.1, 4.0.1
    • Clang, C++1z: 4.0.0
    • GCC: 4.4.7, 4.5.3, 4.6.3, 4.7.2, 5.4.0, 7.1.0
    • GCC, C++11: 4.4.7, 4.7.2, 4.7.3, 4.8.5, 4.9.4, 5.4.0, 7.1.0
    • GCC, C++14: 5.4.1, 6.2.0, 6.3.0, 7.1.0, 8.0.0
    • GCC, C++17: 7.1.0
    • GCC, C++1z: 6.3.0
    • Intel: 17.0
    • Intel, C++11: 16.0, 17.0
    • Intel, C++14: 16.0
  • OS X:
    • Clang: 8.1.0
    • Clang, C++11: 8.1.0
    • Clang, C++14: 8.1.0
    • Clang, C++1z: 8.1.0
  • Windows:
    • GCC: 3.4.5, 4.1.2, 4.2.4, 4.3.3, 4.4.0, 4.5.4
    • GCC, C++11: 4.6.4, 4.7.3, 4.8.1
    • GCC, C++14: 4.9.3, 5.1.0, 5.2.0, 5.3.0, 6.1.0
    • Visual C++: 7.1, 8.0, 9.0, 10.0, 11.0, 12.0, 14.0, 14.1
  • Android:
    • Clang: 3.6, 3.7, 3.8
    • GCC: 4.9, 5.4
    • GCC, C++14: 6.2
  • FreeBSD:
    • Clang: 3.8.0
    • Clang, C++11: 3.8.0
    • Clang, C++14: 3.8.0
    • Clang, C++1z: 3.8.0
  • SunOS:
    • Oracle Solaris Studio: 12.5_next, 12.5
    • Oracle Solaris Studio, C++11: 12.5_next, 12.5

Acknowledgements

Beman Dawes, Eric Niebler, Rene Rivera, Daniel James, Vladimir Prus and Marshall Clow managed this release.