From 739dd523e665d58ad86772d4e4dcaa138047f65b Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Mon, 3 Mar 2014 21:12:13 +0000 Subject: [PATCH] Avoid std::function until PR19030 is fixed We'd like to keep the clang-cl self-host working until we implement MSVC-compatible RTTI. Differential Revision: http://llvm-reviews.chandlerc.com/D2930 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202758 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/CodingStandards.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/CodingStandards.rst b/docs/CodingStandards.rst index 680747be799..a762bf358e3 100644 --- a/docs/CodingStandards.rst +++ b/docs/CodingStandards.rst @@ -109,6 +109,9 @@ unlikely to be supported by our host compilers. * ``auto`` type deduction: N1984_, N1737_ * Trailing return types: N2541_ * Lambdas: N2927_ + + * But *not* ``std::function``, until Clang implements `MSVC-compatible RTTI`_. + * ``decltype``: N2343_ * Nested closing right angle brackets: N1757_ * Extern templates: N1987_ @@ -138,6 +141,7 @@ unlikely to be supported by our host compilers. .. _N3206: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3206.htm .. _N3272: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2011/n3272.htm .. _N2429: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2429.htm +.. _MSVC-compatible RTTI: http://llvm.org/PR18951 The supported features in the C++11 standard libraries are less well tracked, but also much greater. Most of the standard libraries implement most of C++11's