www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.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()
  {
    f(1);
  }

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.

Thanks,
Gennaro.
Jul 23 2006