Boost logo

Boost :

From: Gregory Colvin (gregory.colvin_at_[hidden])
Date: 2003-05-04 15:38:45


On Sunday, May 4, 2003, at 14:24 America/Denver, Justin M. Lewis wrote:
>
> From: "Gregory Colvin" <gregory.colvin_at_[hidden]>
>
>> I don't see the point of providing this
>>
>> void SetArea(c_out<CShape> s)
>> {
>> CShape &ls = s.get_ref();
>> ls.SetArea(100);
>> }
>>
>> and then writing this
>>
>> SetArea(out(psq));
>>
>> instead of just writing this in the first place
>>
>> psq->SetArea(100);
>>
>
>
> You're not addressing the purpose of the idea here, just the specifics
> of an
> example I through together real fast. You can see the point, and the
> proposed useage, how about responding to that, rather than nitpicking?

I truly do not see the purpose of SetArea(), so cannot respond
to whatever idea it is supposed to be an example of.


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