
28 Jan
2004
28 Jan
'04
8:50 p.m.
Borland C++ 6, patch 4, format_implementation.hpp: template< class Ch, class Tr> basic_format<Ch, Tr>& basic_format<Ch, Tr>:: operator= (const basic_format& x) { if(this == &x) return *this; (basic_format(x)).swap(*this); <<<=== here it fails return *this; } [C++ Error] format_implementation.hpp(93): E2102 Cannot use template 'basic_format<Ch,Tr>' without specifying specialization parameters Adding template parameters helped here: (basic_format<Ch, Tr>(x)).swap(*this); /Pavel