[Boost-bugs] [Boost C++ Libraries] #9549: [graph][BGL][PBGL] Dynamic_properties class does not allow distributed property_maps

Subject: [Boost-bugs] [Boost C++ Libraries] #9549: [graph][BGL][PBGL] Dynamic_properties class does not allow distributed property_maps
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-01-07 11:48:26


#9549: [graph][BGL][PBGL] Dynamic_properties class does not allow distributed
property_maps
-------------------------------------+----------------------
 Reporter: anonymous | Owner: jewillco
     Type: Patches | Status: new
Milestone: To Be Determined | Component: graph
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------+----------------------
 I am working with parallel graphs and distributed property maps.
 I found a problem compiling the code when I intended to add a distributed
 property map to the dynamic_property variable.
 The error was a casting problem:
 error: inicialización inválida de una referencia que no es constante de
 tipo
 â€˜boost::default_property_traits<boost::parallel::distributed_property_map<boost::graph::distributed::mpi_process_group,
 boost::detail::parallel::global_descriptor_property_map<long unsigned
 int>,
 boost::vec_adj_list_vertex_property_map<boost::adjacency_list<boost::vecS,
 boost::vecS, boost::directedS, boost::property<boost::vertex_in_edges_t,
 std::list<boost::detail::parallel::stored_in_edge<boost::detail::edge_desc_impl<boost::directed_tag,
 long unsigned int> >,
 std::allocator<boost::detail::parallel::stored_in_edge<boost::detail::edge_desc_impl<boost::directed_tag,
 long unsigned int> > > >, VertexProperties>,
 boost::property<boost::edge_target_processor_id_t, short int,
 EdgeProperties>, boost::no_property, boost::listS>,
 boost::adjacency_list<boost::vecS, boost::vecS, boost::directedS,
 boost::property<boost::vertex_in_edges_t,
 std::list<boost::detail::parallel::stored_in_edge<boost::detail::edge_desc_impl<boost::directed_tag,
 long unsigned int> >,
 std::allocator<boost::detail::parallel::stored_in_edge<boost::detail::edge_desc_impl<boost::directed_tag,
 long unsigned int> > > >, VertexProperties>,
 boost::property<boost::edge_target_processor_id_t, short int,
 EdgeProperties>, boost::no_property, boost::listS>*, double, double&,
 double VertexProperties::*> > >::reference {aka double&}’ desde un r-valor
 de tipo
 â€˜boost::parallel::distributed_property_map<boost::graph::distributed::mpi_process_group,
 boost::detail::parallel::global_descriptor_property_map<long unsigned
 int>,
 boost::vec_adj_list_vertex_property_map<boost::adjacency_list<boost::vecS,
 boost::vecS, boost::directedS, boost::property<boost::vertex_in_edges_t,
 std::list<boost::detail::parallel::stored_in_edge<boost::detail::edge_desc_impl<boost::directed_tag,
 long unsigned int> >,
 std::allocator<boost::detail::parallel::stored_in_edge<boost::detail::edge_desc_impl<boost::directed_tag,
 long unsigned int> > > >, VertexProperties>,
 boost::property<boost::edge_target_processor_id_t, short int,
 EdgeProperties>, boost::no_property, boost::listS>,
 boost::adjacency_list<boost::vecS, boost::vecS, boost::directedS,
 boost::property<boost::vertex_in_edges_t,
 std::list<boost::detail::parallel::stored_in_edge<boost::detail::edge_desc_impl<boost::directed_tag,
 long unsigned int> >,
 std::allocator<boost::detail::parallel::stored_in_edge<boost::detail::edge_desc_impl<boost::directed_tag,
 long unsigned int> > > >, VertexProperties>,
 boost::property<boost::edge_target_processor_id_t, short int,
 EdgeProperties>, boost::no_property, boost::listS>*, double, double&,
 double VertexProperties::*> >::value_type {aka double}’

 I also want to propose a patch to solve this problem.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9549>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:15 UTC