Search code examples
c++boostversioncompatibilityc++03

Which Boost version should I use with a C++03-capable compiler?


My compiler supports C++03. Which version of boost should I therefore use? If I was using an earlier version of C++, how would I establish the boost version?


Solution

  • Whichever. Boost libraries are smart enough to detect your C++ version and compiler and with some preprocessor magic provide implementations that will work with it. So you could as well use the latest version which has more bugs fixed and broader functionality.