From: David B. Held (dheld_at_[hidden])
Date: 2002-10-03 15:30:17
"David B. Held" <dheld_at_[hidden]> wrote in message
> For compilers lacking PTS, what does add_reference do? Is it undefined?
> Is it defined, but has undefined behaviour? What I would like it to do is
> to simply tack on an &, regardless of the underlying type.
Ok, I discovered
However, it looks like it only works with concrete types. Can I use it
inside a template class on a dependent type? I.e.:
template <typename T>
typedef add_reference<T>::type t_ref;
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk