[llvm-bugs] [Bug 27504] Inherited constructor with dependent base class introduced by a typedef-name may not work

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Sep 17 22:30:59 PDT 2016


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

frankhb1989 at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---

--- Comment #2 from frankhb1989 at gmail.com ---
This is still strange following the assumptions on the resolution. How does the
existence of default template argument in the base interact with the
using-declaration?

If `S<int> x;` is deleted, it also does not trigger any diagnostic. Does this
work as intended?

Moreover, will Clang++ preserve the behavior in old standard mode? (I read CWG
2070 as an "enhancement" to the standard.)

The diagnostic here is also confusing. Is it intended?

-- 
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/20160918/2a7bc704/attachment.html>


More information about the llvm-bugs mailing list