}
$constructors_interface=generate(
-' explicit ${CONTAINER}(${SEQ1});'."\n",
+' explicit ${CONTAINER}(${SEQ1});'."\n",
'const ex & param${N}',', ','','');
$constructors_implementation=generate(
- <<'END_OF_CONSTRUCTORS_IMPLEMENTATION','const ex & param${N}',', ',' seq.push_back(param${N});',"\n");
+ <<'END_OF_CONSTRUCTORS_IMPLEMENTATION','const ex & param${N}',', ',' seq.push_back(param${N});',"\n");
${CONTAINER}::${CONTAINER}(${SEQ1}) : basic(TINFO_${CONTAINER})
{
debugmsg(\"${CONTAINER} constructor from ${N}*ex\",LOGLEVEL_CONSTRUCT);
${CONTAINER}::~${CONTAINER}()
{
debugmsg("${CONTAINER} destructor",LOGLEVEL_DESTRUCT);
- destroy(0);
+ destroy(false);
}
${CONTAINER}::${CONTAINER}(${CONTAINER} const & other)
{
debugmsg("${CONTAINER} operator=",LOGLEVEL_ASSIGNMENT);
if (this != &other) {
- destroy(1);
+ destroy(true);
copy(other);
}
return *this;