|
Boost Users : |
From: Daryle Walker (darylew_at_[hidden])
Date: 2005-09-15 17:05:46
On 9/15/05 7:05 AM, "Tony Cook" <tony__cook_at_[hidden]> wrote:
> Can I add that misuse of graph assignment and a graph copy constructor is
> possible - corruptible shallow copies are the result. These methods should
> be given private scope to prevent (mis)use or be correctly implemented
>
> G2 = G1 ; // Compiles but NO you must use boost::graph_copy (G1, G2) instead
If this is accurate, then it should be fixed. Types with abnormal copying
semantics can't be used in STL containers or similar contexts.
-- Daryle Walker Mac, Internet, and Video Game Junkie darylew AT hotmail DOT com
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net