"Well, if crime fighters fight crime and fire fighters fight fire, what do freedom fighters fight? They never mention that part to us, do they?"
- George Carlin

Recommended reading
Sunday, March 29, 2009 | Permalink

The Visual C++ Team Blog sometimes has some of the longest blog posts that you can imagine. However, they contain loads of detailed and very useful information. I highly recommend these two posts that contain info about the C++0x standard and what's being implemented in MSVC, and why you should care. And yes, you should care. Especially rvalue references can have a significant performance advantage if you do it right.

Lambdas, auto, and static_assert: C++0x Features in VC10, Part 1
Rvalue References: C++0x Features in VC10, Part 2

Name

Comment

Enter the code below



Michael
Monday, March 30, 2009

that...was....friggen...long. good. but long. I wonder sometimes if Stephan has any time left to do any real work after writing blog posts like that.

yoav
Monday, April 6, 2009

i am amazed that someone can be "excited" about such ugly code as these new additions to C++

i am a veteran C++, C, assembly programmer, and i have to say that C++ gets more and more "write only" every day

this is pure ugliness

Humus
Monday, April 6, 2009

What's so ugly about it?
I don't think I'm going to use lambda expressions anytime soon, but auto, static_assert and rvalue references are very useful additions.

yoav
Monday, April 6, 2009

auto and static_assert... ok

i just tried re-reading that article, and unless i miss something, this boils down to LESS overhead, not zero overhead
so in the case of the strcat example, you would better use some kind of string builder if you were up for speed (memcpy to the end of where you were last time)

but ok.