[llvm-bugs] [Bug 48222] Default argument of constexpr functions not usable in template using?

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Dec 14 20:15:25 PST 2020


https://bugs.llvm.org/show_bug.cgi?id=48222

Faisal Vali <faisalv at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID
                 CC|                            |faisalv at yahoo.com

--- Comment #1 from Faisal Vali <faisalv at yahoo.com> ---
We discussed this bug on the core reflector - and Richard Smith made the case
that clang's behavior here was justified per the current wording
http://eel.is/c++draft/temp.res.general#8  (though, reportedly, the resolution
of core issue 2335 might still alter the expectation here).

So, apparently (to my surprise too) this has not been deemed a bug - and I am
marking it as such.

Please feel free to reopen the issue if you still feel (and can make the case)
- based on wording from the standard - that we've missed something - and that
this is indeed a bug.

Thank you for taking the time to submit this issue!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20201215/c31625fa/attachment.html>


More information about the llvm-bugs mailing list