egcs-1.1.2 template explicit instantiation problems (Was: wstring...)
llewelly@198.dsl.xmission.com
llewelly@198.dsl.xmission.com
Fri Feb 11 03:38:00 GMT 2000
On 11 Feb 2000, Steinar Bang wrote:
[snip]
>
> Using "template " in front of this statement, like Bjarne III seems to
> indicate:
>
> #ifdef __GNUC__
> template wchar_t* string_char_traits<wchar_t>::move(wchar_t *, wchar_t const *, unsigned int);
> template wchar_t* string_char_traits<wchar_t>::move(wchar_t *, wchar_t const *, unsigned int);
> #endif
>
[snip]
Assuming you meant the second explicit instantiation to instantiate
string_char_traits<>::copy(), gcc 2.95.2 compiles this just fine.
More information about the Gcc
mailing list