C++Builder 13 introduces enhanced capabilities for developers using the Modern Win64 C++ compiler (Bcc64x). This release enables C++ developers to work with the ISO C++23 language and libraries through the Clang v20 compiler, part of the LLVM v20 toolchain. The updated Bcc64x compiler defaults to C++23, but developers can also target C++20 or C++17 if needed. Additionally, the release supports multiple shared runtime libraries (e.g., libc++.dll) with version-specific filenames (e.g., libc++-370.dll), preventing runtime conflicts when working with different versions of C++Builder on the same machine.
ISO C++ language and libraries feature test console application
The ISO C++ standard defines a set of preprocessor macros corresponding to C++ language and library features introduced in C++11 or later. You can use these macros to create tests in your programs for the presence (or absence) of C++ language and library features. You can find additional information on the following sites:
- SD-FeatureTest: Feature-Test Macros and Policies https://isocpp.org/std/standing-documents/sd-6-sg10-feature-test-recommendations
- C++ Feature testing https://en.cppreference.com/w/cpp/feature_test.html
- Check and dump C++ feature test defines https://github.com/makelinux/examples/blob/main/cpp/features.cpp
C++ Feature Test Console Application Output
Using C++Builder 13, I created a console application project derived from the featureTest.cpp code I found on cppreference.com. The following is the C++Builder 13 Feature Test console application output (run on 09/13/2025)
Note: you can download a copy of my C++Builder language and library feature test console application project code in a zip file