Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] template type alias not resolvable from template subclass

Hallo guys,

 

I have the following situation:

 

template<typename _T1_>

struct A {

 

template<typename _T2_>

using Buffer = SomeOtherClass<_T2_>

 

};

 

struct B : public A<char> {

 

Buffer<int> buf; // CODAN reports resolution error

 

};

 

The problem only appears when B is subclassing a class template and the alias itself is a template. Has that been reported yet, or should I open a new bug report?

I might mention that this compiles just fine.

 

bye Michi


Back to the top