Boost logo

Boost :

Subject: Re: [boost] [contract] concepts: pseudo-signatures vs. usage patterns
From: Andrew Sutton (asutton.list_at_[hidden])
Date: 2012-10-11 08:25:29


> Look for example at
> http://www.sgi.com/tech/stl/find_if.html. I can easily satisfy all the
> stated requirements and produce an example that won't compile. I can
> also easily fail to satisfy the stated requirements and produce an
> example that *will* compile. That's because there's a great deal of
> potential mischief hiding in expressions such as
>
> f(*p)

Can you produce those examples? You've made me curious.

Andrew


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