Boost logo

Boost :

From: Jaap Suter (J.Suter_at_[hidden])
Date: 2003-05-02 01:37:27


> your solution will cause more confusion, AFAICT. When you see:
>
> foo(a, b, c)
>
> Are you 100% sure, without looking at the docs or the API, that
> a, b or c is not modified?

But if you see

    foo( out( a ), b, in_out( c ) )

you can be fairly sure that a and c might change, and be somewhat sure that
a doesn't have to be initalized, c has to, and b won't change (since the
above demonstrates that the implementer put some thought in it). That can
still be useful information.

Unless I'm missing something.

Regards,

Jaap Suter


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