[llvm-bugs] [Bug 27504] New: Inherited constructor with dependent base class introduced by a typedef-name may not work
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Apr 24 19:08:15 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=27504
Bug ID: 27504
Summary: Inherited constructor with dependent base class
introduced by a typedef-name may not work
Product: clang
Version: 3.8
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: unassignedclangbugs at nondot.org
Reporter: frankhb1989 at gmail.com
CC: dgregor at apple.com, llvm-bugs at lists.llvm.org
Classification: Unclassified
Case:
// This works: template<class>
template<class, int = 0>
struct C
{};
template<class K>
struct S : C<K>
{
using B = C<K>;
using B::C;
};
S<int> x;
Called with `clang++ -std=c++1z`:
error: dependent using declaration resolved to type without 'typename'
--
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/20160425/ad9a408b/attachment.html>
More information about the llvm-bugs
mailing list