
29 Jan
2004
29 Jan
'04
7:18 a.m.
On Wed, 2004-01-28 at 21:50, Pavel Vozenilek wrote:
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
hmm, this wasnt reported in the regression test reports, are yours a different BCB version ?
Adding template parameters helped here:
(basic_format<Ch, Tr>(x)).swap(*this);
I've commited that -- Samuel