From a52da9a1801636fd80c1778a325d5e6e8d821409 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Fri, 6 Mar 2015 13:46:50 +0000 Subject: [PATCH] CodingStyle: Allow delegating ctors Delegating constructors seem to work fine with all supported compilers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231473 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/CodingStandards.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/CodingStandards.rst b/docs/CodingStandards.rst index f3b3ef28725..992939259ab 100644 --- a/docs/CodingStandards.rst +++ b/docs/CodingStandards.rst @@ -130,6 +130,7 @@ unlikely to be supported by our host compilers. * But not defaulted move constructors or move assignment operators, MSVC 2013 cannot synthesize them. * Initializer lists: N2627_ +* Delegating constructors: N1986_ .. _N2118: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2118.html .. _N2439: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2439.htm @@ -154,6 +155,7 @@ unlikely to be supported by our host compilers. .. _N2437: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2437.pdf .. _N2346: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2346.htm .. _N2627: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2672.htm +.. _N1986: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n1986.pdf .. _MSVC-compatible RTTI: http://llvm.org/PR18951 The supported features in the C++11 standard libraries are less well tracked,