www.digitalmars.com         C & C++   DMDScript  

c++.beta - Digital Mars takes into account template parameter *names* as if they were part of the signature

Sent of behalf of Gennaro Prota (problems with news-server).
Fails with 8.49.2. Comeau works.

Hi Walter,

when faced with the following simple program

  template <typename Integer> void f(Integer x);

  template <typename T> void f(T x)

  int main()

the compiler is deceived to think that the call in main is ambiguous.
This is a reduced test case for a failure affecting
boost::dynamic_bitset. You might also want to investigate why two of
the four dynamic_bitset's test files (#3 and #4) produce an out of
memory error.

Jul 23 2006