Skip to main content

IAR Embedded Workbench for RX 5.20

Migrating from the DLIB C++ library to the Libc++ C++ library

In this section:

There is no Normal configuration of the Libc++ library. Support for locale, file descriptors, etc, is always included.

The Libc++ library is a C++17 library. In C++17, some functionality that was deprecated in C++14 is now removed. Examples include std::auto_ptr, std::random_shuffle, and std::mem_fun. You can define the preprocessor symbol _LIBCPP_ENABLE_CXX17_REMOVED_FEATURES to enable support for these features when using the Libc++ library.

Note

Some system headers from the DLIB C++14 library are not supported in Libc++, and vice versa, see the descriptions in C++ header files.