decltype is #defined to `__typeof__` when it is not available (ie. c++03 mode). The other uses of decltype in the type_traits header lead me to believe it should not be a problem. The tests for `<cmath>` (as en example since it includes `<type_traits>`) compile after this change in C++03 mode (for GCC tot) but not before.
http://reviews.llvm.org/D4735 _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
