$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Jeffrey Holle (jeffreyholle_at_[hidden])
Date: 2005-10-30 15:51:09
I've sucessfully created an program that uses kruskal_minimum_spanning_tree.
I presently give a vector container to this algorithm, which it populates in
providing its answer.
Now I want to optimize my program by switching to set.
For vector, I use "back_inserter(m_spanningTreeEdges)".
For set, I've attempted to use
"inserter(m_spanningTreeEdges,m_spanningTreeEdges.end())", but this doesn't work.
Can somebody tell me the correct way to code this, or tell me that it isn't
possible?