Boost logo

Boost :

Subject: Re: [boost] [LA] vector_traits for setters
From: Emil Dotchevski (emil_at_[hidden])
Date: 2010-05-11 17:04:36


On Tue, May 11, 2010 at 11:11 AM, Daniel Pfeifer <daniel_at_[hidden]> wrote:
>> >> The problem is that you can state:
>> >> double& d = geometry::get(p);
>> >> ......
>> >> lateron:
>> >> d = 5;
>>
>> Why is this a problem?
>
> As long as geometry::get returns a reference, there is no problem.
> If it is a proxy, there is.

What is the problem?

Emil Dotchevski
Reverge Studios, Inc.
http://www.revergestudios.com/reblog/index.php?n=ReCode


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk