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
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: