Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-12-12 15:35:12


From: "Peter Dimov" <pdimov_at_[hidden]>

Oops,

> Yes it will. :-)
>
> optional<T> m;

should have been

optional<T> m(t);

> foo(m, m); // comparison inside yields false
>
> T * p;

and this should have been

T * p = &t;

> foo(p, p); // comparison inside yields true


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