March 23, 2003
struct A
{
  typedef int value_type;
};

template<class T>
void f1(typename T::value_type v, T &t)
{ }

void f()
{
  int i;
  A a;

  f1(i, a);
  // Internal error: template 1497
}

Extracted from Boost's signals\test\random_signal_system (low priority).


bye, Christof

-- 
http://cmeerw.org                                 JID: cmeerw@jabber.at mailto cmeerw at web.de

...and what have you contributed to the Net?