June 24, 2005 Compiler Error | ||||
---|---|---|---|---|
| ||||
The compiler __DMC__ == 0x844 Beta 3 is not able to handle the following program: template < typename T > void construct(T *const) { ; } void foo() { int i= 0; construct(&i); } Error: no match for function 'construct(int *)' // command line options // -c -Ic:\programme\dmars\include\win32;c:\programme\dmars\include -mn -ND -w- -5 -D_X86_=1 -D_WINDOWS -D_Windows -D__WIN32__ -D__MT__ -g- -DNDEBUG -W -Ar -Ab -Aw -Ae Kai |
Copyright © 1999-2021 by the D Language Foundation