Home
> Uncategorized > C++0x final draft is approved
C++0x final draft is approved
Bjarne Stroustrup maintains a FAQ on the matter here. Some of the features include:
- auto keyword to deduct a type from an initializer at compile time, especially useful in template programming;
- range for statement;
- calling a constructor from another constructor’s initializing list (no more init() functions!);
- Lamba expressions – syntax seems rather obscure;
- unique_ptr and shared_ptr – improved auto_ptr and counting pointer, respectively;
- Interface for garbage collection – it is now possible to declare an object reachable or say that a memory region contains no pointers;
- threads and locking mechanisms (at last!), including atomic operations;
- regular expressions.
Advertisements
Categories: Uncategorized
Comments (0)
Trackbacks (0)
Leave a comment
Trackback