Boost logo

Boost Users :

Subject: [Boost-users] [boost][graph] update adjacency_list from boost 1.33 to 1.39
From: Andrey Torba (andreytorba_at_[hidden])
Date: 2009-07-15 06:15:43


I update boost in a project from 1.33 to 1.39.
In elier boost.graph adjacency_list had last template parameter 'Allocator'.
Now this parameter is abcent. The question is how was it used?

In my example there is a Graph type:
typedef boost::adjacency_list<list_pooledS, list_pooledS, boost::directedS,
NodeInfo, EdgeInfo, boost::no_property, list_pooledS, *
boost::get_mat_fast_pool_alloc<char>::allocator*> Graph;

as i can see allocator is defined in `list_pooledS`.

Will it be enough to define such type (without last parameter)?
typedef boost::adjacency_list<list_pooledS, list_pooledS, boost::directedS,
NodeInfo, EdgeInfo, boost::no_property, list_pooledS> Graph;

-- 
Regards, Andrey


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