What is the extent of interoperability between C++11 and a recent version of Boost (say 1.55) built with a C++11 compiler.
Boost can't be used with C as it uses OOP features from C++.
Known Issues. Boost. Operators is currently incompatible with C++20 compilers, which in some cases may manifest as an infinite recursion or infinite loop in runtime when a comparison operator is called.
Boost. Asio is a cross-platform C++ library for network and low-level I/O programming that provides developers with a consistent asynchronous model using a modern C++ approach. An overview of the features included in Boost.
Boost is a set of libraries for the C++ programming language that provides support for tasks and structures such as linear algebra, pseudorandom number generation, multithreading, image processing, regular expressions, and unit testing. It contains 164 individual libraries (as of version 1.76).
gcc
with and without -std=c++11
together. You will get link errors or even runtime crashes. I cannot vouch for other C++ implementations. So at least with gcc
, you do need to build a separate version of Boost with c++11 mode enabled.EDIT I see people are still reading (and upvoting!) this answer. Point 1 is no longer true (or perhaps never was true). Versions of gcc from I think 5.1 upwards use an ABI compatible with -std=<anything>
by default.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With