Boost logo

Boost :

Subject: Re: [boost] rvalue ref best practices?
From: Dave Abrahams (dave_at_[hidden])
Date: 2012-06-15 00:42:04

on Tue Jun 12 2012, Mathias Gaunard <> wrote:

> It is not natural for something written as foo = bar(); to change foo
> if bar fails.

But you usually can't tell the difference between bar() failing and the
assignment failing, and it's perfectly natural for a failed assignment
to change the assignee.

Dave Abrahams
BoostPro Computing

Boost list run by bdawes at, gregod at, cpdaniel at, john at