
2 Jul
2004
2 Jul
'04
12:38 p.m.
Daryle Walker wrote:
I think that any other type (built-ins, enums, POD structs) needs the explicit default constructor sequence:
template < typename T > void reset( T & t ) { using std::swap; T x = T(); swap( x, t ); }
Good catch. I'll keep it in mind when I find the time to prepare a patch. Regards, Daniel -- Daniel Frey aixigo AG - financial solutions & technology Schloß-Rahe-Straße 15, 52072 Aachen, Germany fon: +49 (0)241 936737-42, fax: +49 (0)241 936737-99 eMail: daniel.frey@aixigo.de, web: http://www.aixigo.de