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
<<attachment: peter_vizi.vcf>>
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Lemon-user mailing list [email protected] http://lemon.cs.elte.hu/mailman/listinfo/lemon-user
