[cfe-commits] r168847 - in /cfe/trunk: include/clang/Sema/Sema.h lib/Sema/SemaDeclCXX.cpp test/SemaCXX/implicit-member-functions.cpp

Matthieu Monrocq matthieu.monrocq at gmail.com
Thu Nov 29 09:28:51 PST 2012


On Thu, Nov 29, 2012 at 2:48 AM, Chandler Carruth <chandlerc at google.com>wrote:

> On Wed, Nov 28, 2012 at 5:34 PM, Richard Smith
> <richard-llvm at metafoo.co.uk> wrote:
> > Author: rsmith
> > Date: Wed Nov 28 19:34:07 2012
> > New Revision: 168847
> >
> > URL: http://llvm.org/viewvc/llvm-project?rev=168847&view=rev
> > Log:
> > The declaration of a special member can require overload resolution to be
> > performed, to determine whether that special member is deleted or
> constexpr.
> > That overload resolution process can in turn trigger the instantiation
> of a
> > template, which can do anything, including triggering the declaration of
> that
> > very same special member function. When this happens, do not try to
> recursively
> > declare the special member -- that's impossible. Instead, only try to
> realise
> > the truth. There is no special member.
>
> I bow before you sir. Well done.
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
*      __
     //\\
     \\//
      ||
      ||
      ||
      ||

-- Matthieu
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121129/88ced410/attachment.html>


More information about the cfe-commits mailing list