Article from C++Next site.
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.
- Want Speed? Pass by Value.
- Move It With Rvalue References
- Making Your Next Move
- Your Next Assignment…
- * Exceptionally Moving! [n2983]
- Onward, Forward!
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.