$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Alan M. Carroll (amc_at_[hidden])
Date: 2006-03-17 17:44:12
content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C649EA.C6E9587E"
The following, I suppose, produces a memory leak… is there any way to avoid this? Don’t use variant with pointers… ?
variant<T1*,T2*> vt;
vt = new T1;
vt = new T2;
Thanks, Allen.
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://listarchives.boost.org/mailman/listinfo.cgi/boost-users