------- Comment #2 from extronus at gmail dot com  2008-01-22 06:04 -------
more simplified

-------------
template <typename HYPE>
struct base
{
  float a;
};

template <typename TYPE>
class derv : public base<TYPE>
{
  void der_funk()
  {
    a = 0;
  }
};


while this one works
--------------
template <typename HYPE>
struct base
{
  float a;
};

template <typename TYPE>
class derv : public base<int>
{

  void der_funk()
  {
    a = 0;
  }
};


-- 


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

Reply via email to