Boost logo

Boost :

Subject: Re: [boost] [LA] vector_traits for setters
From: Daniel Pfeifer (daniel_at_[hidden])
Date: 2010-05-11 14:11:30


> >> 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.


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