Skip to content
DryPerspective edited this page Jun 27, 2024 · 7 revisions

C++ Builder Extras

A collection of tools written for all C++ compilers and standards, but which were particularly designed with C++Builder in mind, in order to take the edge off of some aspects of developing in that environment. The tools are header-only and while the implementation may change depending on language standard. the interface to the user remains the same.

The tools are:

  • CI_Traits - A character traits class which allows for case-insensitive comparison.
  • Contracts - Function contract assertions designed to be more customisable and powerful than traditional C assert.
  • Convert - A generic type conversion function which converts between built-in, standard library, and VCL types.
  • Defer - A tool to defer the evaluation of certain expressions until the exit of the current scope.
  • Source_Location - A class which emulates std::source_location from C++20, with reasonable support for processing the context of the caller.

Clone this wiki locally