I heared that some Boost libraries are going to be standard in the next C++ standard. Which of them? Will they replace <iostream> and/or <fstream> for example?
Printable View
I heared that some Boost libraries are going to be standard in the next C++ standard. Which of them? Will they replace <iostream> and/or <fstream> for example?
No, no replacing will be done. Many of the smart pointers will be added (like shared_ptr), the regex library, a bunch of template metaprogramming things, and some of the container stuff like array and tuple. Hash maps will be added, but not specifically the ones from boost (although I think boost has an implementation).
Snoop around in this site for answers to which libraries will be added to the standard. You can also search through comp.lang.c++.moderated or comp.std.c++.
http://www.open-std.org/JTC1/SC22/WG21/
No replacement. OK. What about deprecation?
I would assume there could be some deprecation, but I doubt there will be very much. Perhaps vector<bool> or some other "mistakes". I highly doubt anything widely used will be deprecated.
I noticed this thread in the comp.std.c++ newsgroup:
http://groups.google.com/group/comp....05b0dd8be4d10e
You might want to watch that thread and follow the existing links to find out the information. I don't actually pay attention to those details very often.
>What about deprecation?
The committee produces documents for every meeting that covers every topic discussed. Those documents are available to the public and can be found at the link provided to you already.
I am currently in the link but it is like a jungle. It is early to ask such questions I think.
Thank you Daved so much.
Here's a link to the Library Working Group Technical Report 1 (PDF), which details proposed extensions to the standard library. I think that every single library except some advanced math stuff is also available in Boost.
I think that is an old version. This might be more recent:
http://www.open-std.org/JTC1/SC22/WG...2005/n1836.pdf
Ah, sorry. I just Googled for it.
I have a nxxxx in my home PC, I should go and check its number.
What are the chances that Spirit will be added? That was always one of my favorite packages in boost...
I'm so happy regex is going to be in there... I just wish threads would be to :(
Agreed. Although I do have a thing for boost.thread and smart pointer.
I don't think Spirit or Wave will be added. I don't think that is even the objective of their developers. From what I can see, all the libraries being considered for addition are those which provide functionality that is somehow considered to be missing from the standard library (smart pointers, multi-threading, maths,...).
Spirit and Wave (or just Spirit since that's the focus here), can be considered more as an extension to the language than something that could be an actual part of the language. More importantly, I'm not sure if Spirit is generic enough to be a good candidate for the standard library.
boost.asio is also likely to be added as the C++ networking library, as is boost.filesystem.
as for language changes, expect the auto keyword
e.g.
and built in concept checkingCode:auto x = somePossiblyComplicatedFuncMaybeWithTemplates(); // x is now of whatever type the function returns
Yes I have
n1135
n1836
n1680
I didn't know what exactly these papers were when I was downloading them.