Re: question about HOWTO use std::set in non-trival way...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Found my own answer by looking at the implementation of set in
bits/stl_set.h.
set has the approbriate constructor, so the answer is:
Edges edges(ltSubGraph(graph_)).
A very thoughtful implementation!
Eljay Love-Jensen wrote:
Hi Jeff,
Why does your ltSubgraph comparison function object class have a copy
constructor?
See section 18.4.2 of Stroustrup's C++ Programming Language (3rd or
special edition), for what a less functor object looks like.
HTH,
--Eljay
[Index of Archives]
[Linux C Programming]
[Linux Kernel]
[eCos]
[Fedora Development]
[Fedora Announce]
[Autoconf]
[The DWARVES Debugging Tools]
[Yosemite Campsites]
[Yosemite News]
[Linux GCC]