Boost 1.68 for Win32 and Win64 in C++Builder 10.3.2

by Aug 6, 2019

RAD Studio 10.3.2 comes with the up-to-date version 1.68 of Boost for both Win32 and Win64 Clang-enhanced compilers, plus Boost for the classic compiler

The 10.3.x version of C++Builder has focused so far on upgrading the C++ toolchain to support C++17, as well as providing more performance, a better RTL and more; and on Code Insight such as code completion. (There are some nice additions elsewhere, such as IDE performance, which apply equally to both Delphi and C++.)

The third main item for C++ in 10.3.x has been to provide updated and modern libraries. The most key library is Boost, and several months ago we provided Boost 1.68, a recent and up-to-date version, for the Clang-enhanced C++ Win32 compiler. At the time, Win64 remained using the older v1.55.

Boost 1.68 for Clang Win32 and Win64

In 10.3.2, this version of Boost is now also available for Win64, meaning this up-to-date version is available for all of Windows, just like the C++17 compiler. You can install Boost very easily through the GetIt package manager, found in the Tools menu:


We’re the only compiler vendor who provides an edition of Boost packaged alongside the C++ product, and this is a huge benefit to you if you use C++Builder. Boost is a huge and powerful collection of libraries. Some of the completely new ones since 1.55 that you can use today in both Win32 and Win64 apps include:

  • Boost.Sort introduced in 1.58, which has a number of sorting algorithms, and notably this includes “spreadsort, a general-case hybrid radix sort that is faster than O(n*log(n))” – great for performance
  • Boost.Convert, introduced in 1.59, which is an “extensible and configurable type-conversion framework”
  • Boost.Hana, introduced in 1.61, a famous metaprogramming library for computations on both types and libraries. It is a superset of Boost.MPL and Boost.Fusion (both of which are also supported)
  • Boost.Metaparse, introduced in 1.61, a library for building compile-time parsers from a DSL; if you have your own language and need to parse it, this is compile-time not runtime like Spirit, which is very useful
  • Boost.QVM, introduced in 1.62, a great quaternion, vector and matrix (thus ‘QVM’) library useful for 3D developers, simulations, and similar
  • Boost.Mp11, introduced in 1.66, another metaprogramming library, this one “for compile-time manipulation of data structures that contain types.”
  • Boost.Hof, introduced in 1.67, a library for higher-order functions

Also supported are libraries like Boost.asio, a famous library for asynchronous network and other I/O; Boost.InterProcess for interprocess communication; Boost.lockfree for non-locking data structures; and more.

We plan on keeping this up to date, and so Boost 1.70 will be available in future, for example.

Classic Compiler

We haven’t forgotten the classic bcc32 compiler either, and Boost v1.39, the most recent supported by the classic compiler, is also available in GetIt.

Overview

Boost is very useful to you as a C++ developer, and in C++Builder 10.3.2 you have access to a new and greatly improved version. If you have update subscription, download and install C++Builder 10.3.2 here!