|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2004-05-03 10:19:53
Howard Hinnant <hinnant_at_[hidden]> writes:
> On May 3, 2004, at 4:55 AM, Daniel Frey wrote:
>
>> Shouldn't we use the compiler's native typeof-implementation where
>> available? IIRC both GCC and Intel support __typeof__
>
> Metrowerks as well (same spelling, same semantics). Note that this is
> not a reference-preserving operation like the proposed decltype.
I think it's easy enough to write a macro that will add back the
reference if neccessary.
-- Dave Abrahams Boost Consulting http://www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk