What will happen to the portions of the Boost library that are incorporated into the new C++ standard?

Will they continue to evolve and any changes be reincorporated into the standard which follows C++0x?

  • 1
    That's an interesting question. – JohnB Jun 30 '11 at 9:43

They already do. Some of those libraries have additional features in the boost version. For example, the smart pointers library have intrusive pointers in addition to other standardized smart pointers. There are still propositions for other smart pointers implementation in the mailing list. Another example is the random number generation library that have more generators in boost than the standard (at least from what I see in n3290).

What happen is that once standardized, the library is modified to match the standard interface. After that, the author (or any other contributor) can continue to work on the library.

  • A side question, won't this make compiling and linking with these portions of Boost using a standards compliant compiler a nightmare? (or will namespaces save the day in that regard?) – jonsca Jun 30 '11 at 10:12
  • 3
    namespaces save the day apart from any conflict in preprocessor stuff – jk. Jun 30 '11 at 10:15
  • Exactly jk's answer. – Klaim Jun 30 '11 at 10:17
  • @jonsca: Boost already had to deal with this: Boost.Limits was a library that was similar to the standard <limits> both on pre- and post-C++98 compilers. – MSalters Jun 30 '11 at 11:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.