------- Comment #2 from bangerth at gmail dot com  2010-02-22 03:56 -------
This is not a bug. Because the base class of Node::OpNode does not
depend on template arguments, the members of the base class are
visible in Node::OpNode::f(). On the other hand, since the base
class of Node::FooOpNode depends on template arguments, the members
of the base class are not visible during parsing and before template
arguments are substituted.

You need to write the call to test as
  this->test(op.i)

W.


-- 

bangerth at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bangerth at gmail dot com
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43135

Reply via email to