This is a mirror of official site: http://jasper-net.blogspot.com/

Standard C++ Library changes in Visual C++ 2010

| Sunday, September 12, 2010
Reveals the important changes in STL
The STL Continues...

Prerequisites:

Understanding of C++0x standard concepts, viz. auto keyword, lambda expressions, R-value references.
Reasonably good understanding of STL. A couple or more container classes, iterator knowledge are sufficient.
You must have Visual C++ 2010 compiler, or a compiler that supports new C++ and updated STL (I don't have references to other compatible compilers, if you have, let me know).
This article explains the changes in STL library. Like the changes in C++ languages, as explained in this article, the changes in STL are on top of TR1. Briefly, following are the advancements in Standard Template Library:

Constant Iterators
array and tuple Classes
Random Number generator Classes
Regular Expressions
Unordered maps and sets
Changes in functional, utility headers.
The memory header, Enhanced "pointer" management classes

Constant Iterators

First thing first, constant iterator is not same as const iterator. A constant iterator is const_iterator. When the keyword const is applied to an iterator (or any other variable), that variable cannot be changed further.

Read more: Codeproject

Posted via email from .NET Info

0 comments: