<div dir="ltr">Dear developers,<div><br></div><div>I wanted to copy some nodemaps, and I realized I have to write functions like</div><div><div><br></div><div>void bmcpy(const Graph & g,const BoolNodeMap & from, BoolNodeMap & to){</div>
<div> for (Graph::NodeIt n(g);n!=INVALID;++n){</div><div> to[n]=from[n];</div><div> }</div><div>}</div></div><div><br></div><div>I found this ticket about the subject:</div><div><a href="http://lemon.cs.elte.hu/trac/lemon/ticket/137">http://lemon.cs.elte.hu/trac/lemon/ticket/137</a><br>
</div><div><br></div><div>If I see well, this is still the state of the art. Am I right?</div><div><br></div><div>Another question regarding functions like the one above: if I only pass the two nodemaps, then they will not know how to iterate over the nodes, right?</div>
<div><br></div><div>Thanks in advance!<br><br></div><div>Attila</div></div>