Boost logo

Boost :

From: David B. Held (dheld_at_[hidden])
Date: 2003-02-18 18:41:07


"Eric Friedman" <ebf_at_[hidden]> wrote in message
news:b2uflv$86s$1_at_main.gmane.org...
> [...]
> const T& r = ...;
> r.~T();
>
> Even if my understanding is correct though, it may be best for destroyer
> to take a non-const reference to avoid confusion.

Comeau says it's ok, so I'd just leave it as is. It does seem peculiar to
me, though.

Dave


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