Aug 29, 2012

[C++11] RVO , etc...

Article from C++Next site.
Reference :
In STL, there's predicate funtion/functor , which usually implemented as pure function

Most of these ideas above can be read from Stephan T. Lavavej(STL)'s article : Rvalue References: C++0x Features in VC10, Part 2 . Beware, in C++11, rvalue reference CANNOT reference lvalue. In STL's article, which rvalue CAN reference to lvaule is draft and NOT workable in C++11. The reason is explained as prevent accidentally modify the lvalue.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.