Here is an example of how to use rvalue references for forwarding:
I want to create very simple unit test framework for C++ which can be used with Visual Studio. I mean that it must have some integration to IDE. When i searched for some existent frameworks i didn’t find anything useful and open source. Also i want this framework should be very lightweight, and test creation should take very little time, because instead test creation doesn’t have sense.\ So here is first version, it use new features from C++0x, and was created in Visual Studio2010 Express.It produce output to standard Output window, and you can click on failed assertion message to move you code editor to required code line.