[PATCH] Instantiate static constexpr member function of a local struct in a function template earlier.

Michael Park mcypark at gmail.com
Tue Apr 28 16:00:12 PDT 2015


>
> The answer is that we don't really know. It would be more consistent with
> the non-template case for it to be ill-formed (it also seems reasonable to
> say that you can't instantiate a member function until its class is
> complete), but the point of instantiation rules for constexpr functions
> aren't settled yet; this is part of DR1581 (still open).
>

Agreed. Thanks for the pointer to DR1581!

LGTM


As this is my first patch for Clang, I'm not all that familiar with the
required process to get this patch committed. Am I required to do anything
further on my end?

Thanks,

MPark.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150428/6ef6b5d1/attachment.html>


More information about the cfe-commits mailing list