c++0x

What's your favorite C++0x feature?

As many of us know (and many, many more don't), C++ is currently undergoing final drafting for the next revision of the International Standard, expected to be published in about 2 years. Drafts and papers are currently available from the committee website. All sorts of new features are being added, the biggest being concepts and lambdas....

Visual Studio support for new C / C++ standards?

Hello everyone, I keep reading about C99 and C++0x and all these totally sweet things that are getting added to the language standard that might be nice to use someday. However, we currently languish in the land of writing C++ in Visual Studio. Will any of the new stuff in the standard ever get added to visual studio, or are microsoft ...

Why doesn't C++ have a garbage collector?

I'm not asking this question because of the merits of garbage collection first of all. My main reason for asking this is that I do know that Bjarne Stroustrup has said that C++ will have a garbage collector at some point in time. With that said, why hasn't it been added? There are already some garbage collectors for C++. Is this just...

Where can I learn more about C++0x?

I would like to learn more about C++0x. What are some good references and resources? Has anyone written a good book on the subject yet? ...

Concurrent programming c++?

I keep on hearing about concurrent programing every where. Can you guys throw some light on what it's and how c++ new standards facilitate doing the same? ...

C++0X when?

What are the latest news about C++0X? (or should I say C++1X) Any release date decided yet? ...

Garbage Collection in C++ -- why?

I keep hearing people complaining that C++ doesn't have garbage collection. I also hear that the C++ Standards Committee is looking at adding it to the language. I'm afraid I just don't see the point to it... using RAII with smart pointers eliminates the need for it, right? My only experience with garbage collection was on a couple of c...

What do you think about c++ after c++0x standard?

What do you think about c++ after c++0x standard is released. ...

User-defined literals in C++0x, a much needed addition or making C++ even more bloated?

C++0x will introduce user-defined literals which will allow the introduction of new literal syntax based on existing literals (int, hex, string, float) so that any type will be able to have a literal presentation. Examples: // imaginary numbers std::complex<double> operator "i"(double d) // cooked form { return std::complex<double...

Are std::streams already movable?

GNU gcc 4.3 partially supports the upcoming c++0x standard: among the implemented features the rvalue reference. By means of the rvalue reference it should be possible to move a non-copyable object or return it from a function. Are std::streams already movable by means of rvalue reference or does the current library implementation lack...

Variadic templates

C++0x will allow template to take an arbitrary number of arguments. What is the best use of this feature other than implementing tuples ? ...

Does VS2008 have somewhat C++0x support?

Does VS2008 have somewhat C++0x standard support? DUPLICATE http://stackoverflow.com/questions/146381/visual-studio-support-for-new-c-c-standards ...

C++0x Attributes you'd like to see

Recently voted into the C++0x working paper was an attribute syntax. This syntax provides a way to specify other pieces of information to the compiler. The Committee Draft also includes several standard attributes. The syntax is to wrap the attribute list in double square brackets, e.g. [[noreturn]]. These attributes can be "namespaced"...

tr1::mem_fn and tr1::bind: on const-correctness and overloading

What's wrong with the following snippet ? #include <tr1/functional> #include <functional> #include <iostream> using namespace std::tr1::placeholders; struct abc { typedef void result_type; void hello(int) { std::cout << __PRETTY_FUNCTION__ << std::endl; } void hello(int) const { std::cout << __PRETTY_FUNCTION__ <...

Writing Multithreaded Exception-Safe Code

What are the tensions between multithreading and exception-safety in C++? Are there good guidelines to follow? Does a thread terminate because of an uncaught exception? ...

C++0x - When?

When will C++0x be released? Anyone here know anything? ...

Is it Wise to Spend Cash on a C++ Book Keeping in View the Upcoming C++0x?

I just purchased C++ GUI Programming with Qt4 and after reading the code samples in this book I'm beginning to realize that my knowledge of C++ is incomplete. I learned C++ two years ago from online tutorials and a couple of ebooks I downloaded, and it turns out none of these resources were good enough. Since then I haven't touched the l...

Good book recommendation for c++0x?

Do you have a good book recommendation for c++0x? ...

what will happen with the overlapping portion of boost once C++0x becomes mainstream?

what will happen with the overlapping portion of boost once C++0x becomes mainstream? Will boost still contain everything it used to, or will they adapt the library to update it with the new std:: stuff? Will boost have both a normal c++ version and a c++0x version that they will maintain? ...

Lambda expressions support in VS2008 SP1

Is there support for lambda expressions from C++ 0x in Visual Studio 2008 SP1? Example below throws me syntax errors. Is there any '-Cpp0x' flag for compiler or something? #include <algorithm> #include <iostream> #include <ostream> #include <vector> using namespace std; int main() { vector<int> v; for (int i = 0; i < 10; ++i) ...