Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-10-11 10:14:23


----- Original Message -----
From: "Fernando Cacciola" <fcacciola_at_[hidden]>

> The bottom line is that by using 'peek' or 'acquire' as the accesing
> funcions the user -and those reading the user's code- can infer the
lifetime
> behaviour of the pointer/reference obtained. Even though the function peek
> interface above doesn't *solve* any problem, it would communicate that the
> validity of the reference is subject to the function object, something
that
> might not be so obious.
>
> Opinions?

Very nice!

-Dave

===================================================
  David Abrahams, C++ library designer for hire
 resume: http://users.rcn.com/abrahams/resume.html

        C++ Booster (http://www.boost.org)
          email: david.abrahams_at_[hidden]
===================================================


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