Boost logo

Boost Users :

From: Matthias Kronenberger (mkronen_at_[hidden])
Date: 2002-08-29 07:27:21


----- Original Message -----
From: "Jeremy Siek" <jsiek_at_[hidden]>
Newsgroups: gmane.comp.lib.boost.user
Sent: Tuesday, August 27, 2002 7:33 PM
Subject: Re: Re: BGL: adjacency_list: remove_edge problems

> Hi Matthias,
>
> On Tue, 27 Aug 2002, Matthias Kronenberger wrote:
> mkrone> Does that mean i can only use vecS as the EdgeList?
> mkrone> What about the usual std::set.
>
> You can use vecS, listS, setS, and you can use the container_gen class to
> add your own.
>
> mkrone> Could one change a BGL config file to use hash_setS as the default
> mkrone> EdgeList? Which file would that be?
>
> The defaults are specified in boost/adjacency_list.hpp, line 301.
>
> Another approach that would not required modifying boost headers would be
> to create a type generator class:
>
> template <typename EdgeProp, typename VertexProp, etc.>
> struct my_favorite_adj_list
> {
> typedef adjacency_list<hash_setS, vecS, EdgeProp, VertexProp, etc.>
type;
> };
>

Hm, i'm allready using a type generator, but also MSVC. The question mark
was: can i use hash_setS as an edge
list with MSVC, which you denied because of the lack of partial
specialisation support.
Your answer was, that i'm stuck with vecS for the Edge List, right?

> Cheers,
> Jeremy
>
>
> ----------------------------------------------------------------------
> Jeremy Siek http://php.indiana.edu/~jsiek/
> Ph.D. Student, Indiana Univ. B'ton email: jsiek_at_[hidden]
> C++ Booster (http://www.boost.org) office phone: (812) 855-3608
> ----------------------------------------------------------------------
>
>
>


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