[cfe-commits] [Patch] Documentation update: use __has_feature(__cxx_decltype__) to detect N3276 decltype

Michel Morin mimomorin at gmail.com
Thu Mar 1 03:44:04 PST 2012


This patch updates documentation of feature checking macros
to describe __has_feature(__cxx_decltype__) can be used to detect
the C++11 decltype (N3276) support.

N3276 decltype was implemented in r151117 (am I right?), and
"feature names with double underscores" was implemented in r151445.
So, __has_feature(__cxx_decltype__) can be used to detect N3276 decltype.

This patch also updates the "C++11 implementation status" page.


Michel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: docs_detecting_n3276_decltype.patch
Type: application/octet-stream
Size: 1506 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120301/0ee47d69/attachment.obj>


More information about the cfe-commits mailing list