
27 Jul
2007
27 Jul
'07
7:10 p.m.
"Doug Gregor" <dgregor@osl.iu.edu> wrote
I have updated the Boost Config library (on the CVS trunk) to contain BOOST_HAS_DECLTYPE, indicating the presence of decltype. A sufficiently-motivated person could certainly use this macro to give a simple implementation of decltype for C++0x compilers...
Could you ellaborate? It's not quite clear how to implement decltype on compilers that don't have it... which means on any compiler other than the latest gcc that you mentioned... or am I missing something? Regards, Arkadiy