DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
The C++ Graph Classes: A Tutorial - Graph(3C++) and Graph_alg(3C++)

Edge Operators

The following assignment operator is defined for both the generic and user-derived Edge types:

   Edge& operator=(const Edge& e);

so that, for Edges e and e2 the following operation is legal:

   e = e2;

Since an Edge is manipulated through its pointer, built-in pointer comparison is available to conduct tests such as:

   if (e == e2) ... ;

Note that this compares Edge pointers, not Edge contents.


Next topic: Edge Information Retrieval
Previous topic: Edge Constructors and Destructors

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004