Boost logo

Boost :

From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2007-02-09 12:07:08


On 2/9/07, Mathias Gaunard <mathias.gaunard_at_[hidden]> wrote:
> Joe Gottman a écrit :
> > I've discovered that you can't use the arrow operator with an object
> > of type optional<T &>
>
> Wouldn't it be better to simply use T* in that case?

Why would it? T* and T& have very different semantics.

best regards,

-- 
Felipe Magno de Almeida

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