1 Replies - 6157 Views - Last Post: 09 August 2011 - 09:42 AM Rate Topic: -----

#1 NickDMax  Icon User is offline

  • Can grep dead trees!
  • member icon

Reputation: 2250
  • View blog
  • Posts: 9,245
  • Joined: 18-February 07

RValue References: Moving Forward»

Posted 09 August 2011 - 09:19 AM

RValue References: Moving Forward» a series of blog posts by Dave Abrahams one of the founding members and moderators of Boost.

For a slightly more gentle introduction to rvalue references (if you have not come across them yet) you might read this paper. This one is a bit dated but gives a good introduction to the concept.

Is This A Good Question/Topic? 0
  • +

Replies To: RValue References: Moving Forward»

#2 NickDMax  Icon User is offline

  • Can grep dead trees!
  • member icon

Reputation: 2250
  • View blog
  • Posts: 9,245
  • Joined: 18-February 07

Re: RValue References: Moving Forward»

Posted 09 August 2011 - 09:42 AM

see its little things like this that get me:

Quote

Guideline: Don’t copy your function arguments. Instead, pass them by value and let the compiler do the copying.


This is of course counter intuitive from a beginner/intermediate perspective. Of course relieing upon elision is probably not really good advice to give a beginner/intermediate (I considered myself an intermediate C++ programmer again at this point... my ego has been checked recently as I did some research into a subject (expressions) that I thought I understood pretty well but need to clean a few things up... turns out I only knew (or rather connected together) a very superficial level of what was going on).
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1