From: Arkadiy Vertleyb (vertleyb_at_[hidden])
Date: 2006-02-12 09:26:51


"Eric Niebler" <eric_at_[hidden]> wrote

> Arkadiy Vertleyb wrote:
> >
> > Any luck with telling const x from const x&?
> >
>
> I can on VC7.1, VC8 and gcc 3.4+ and 4.x, but I'm pretty sure it's not
> standard.

What about volatile/volatile& and volatile const/volatile const& in VC7.1,
VC8, for UDT? Looks like they apply this lifetime extension rule to them,
too...

Regards,
Arkadiy