I'm writing a chess program with wxWidgets. At one point, I have a subclass of wxGLCanvas
, and it makes use of a Move
class I wrote. Unfortunately, it seems like there's a method wxWindowBase::Move()
, and so all my statements of the form list<Move> li
won't compile.
Is there any nice way to resolve this? I've tried list< ::Move> li
, and that does fix the problem, but it's gross, and I have to make that change everywhere. Unlike with namespace conflicts, a using-declaration doesn't seem to help here.