c++ - Broken using declaration when used on subscript operator
class A
{
public:
int operator [](int index) const;
};
class B
{
public:
int operator [](int index) const;
};
class C
: public A
, public B
{
public:
using A::operator [];
};
H:\STLSoft\Releases\1.9.x\STLSoft\unittest\build\dm>dmc
using_subs.cpp
using A::operator [];
^
begin 666 using_subs.cpp
M"GL-"G!U8FQI8SH-"B-I9F1E9B!415-47U-50E,-"B ("!I;G0 ;W!E<F%T
M;W( 6UTH:6YT(&EN9&5X*2!C;VYS=#L-
M"G!U8FQI8SH-" T*(VEF9&5F(%1%4U1?4U5"4PT*(" ('5S:6YG($$Z.F]P
`
end
Aug 05 2005
Any traction on this bug?
"Matthew" <admin stlsoft.dot.dot.dot.dot.org> wrote in message
news:dd1jbu$s4c$1 digitaldaemon.com...
class A
{
public:
int operator [](int index) const;
};
class B
{
public:
int operator [](int index) const;
};
class C
: public A
, public B
{
public:
using A::operator [];
};
H:\STLSoft\Releases\1.9.x\STLSoft\unittest\build\dm>dmc
using_subs.cpp
using A::operator [];
^
Sep 10 2005








"Matthew" <matthew hat.stlsoft.dot.org>