[Lemon-user] EdgeMap copy constructor
Peter Vizi
peter.vizi at itk.ppke.hu
Sat Nov 6 01:43:33 CET 2010
Dear Users,
In my application I have to create a bunch of lemon::ListGraph::EdgeMap<
bool > objects, and I have to pass it around for other objects to use.
For a container I chose to use one std::vector<
lemon::ListGraph::EdgeMap< bool > >.
My problem comes from the fact that the copy constructor of
lemon::ListGraph::EdgeMap< bool > is private, hence the push_back
function call will result in a compile time error. As I understand the
way to create "copies" of such edge maps would be to use a
lemon::GraphCopy object, but this is not applicable for the push_back call.
Anyone can suggest a workaround for this problem?
Regards,
Peter
--
Peter Vizi
Ph.D. student
Faculty of Information Technology
Pazmany Peter Catholic University
-------------- next part --------------
A non-text attachment was scrubbed...
Name: peter_vizi.vcf
Type: text/x-vcard
Size: 297 bytes
Desc: not available
URL: <http://lemon.cs.elte.hu/pipermail/lemon-user/attachments/20101106/0853166a/attachment.vcf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lemon.cs.elte.hu/pipermail/lemon-user/attachments/20101106/0853166a/attachment.asc>
More information about the Lemon-user
mailing list