Categories
boost cpp On the web Programming

The future of C++

Recently I’ve been looking a lot into boost and it’s really a great set of libraries. Although the syntax of some of the libraries could use a helping hand (assign library). Luckily I was watching a presentation by Bjarne Stroustrup on the next C++ standard and it appears that they will finally add a way to construct containers such as vectors with elements as construction time. I think it was called initializer lists and the syntax was the following:

      vector v {1,2,3}

So you can now initialize them just like regular arrays 🙂 Furthermore it appears that we’ll get threads and perhaps a common filesystem + network abstraction. Now if only they could be a little quicker at bringing forward these new standards 😉