Polymorphism issue. Member function of parent class is not visible
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc-7 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Struct A declares a function 'f' with a parameter of type typename std::integral_
Struct B inherits class A and declares a function with a parameter of type typename std::integral_
A::f is not accessible.
struct A
{
static void f(typename std::integral_
};
struct B: public A
{
static void f(typename std::integral_
};
void tst()
{
B::f(std:
}
error: no matching function for call to ‘B::f(std:
no known conversion for argument 1 from ‘std::integral_