// (C) Copyright 2009 Dmitry Bufistov, Andrew Sutton // // Use, modification and distribution are subject to the // Boost Software License, Version 1.0 (See accompanying file // LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) #include #include #include // Test contributed by Dmitry that validates a read-only property map bug // for bundled properties. // TODO: Integrate this into a testing framework. using namespace boost; struct EdgeProp { double weight; }; typedef adjacency_list graph_t; int main() { typedef property_map::type WeightMap; typedef property_map::const_type cWeightMap; typedef graph_traits::edge_descriptor Edge; BOOST_CONCEPT_ASSERT((ReadablePropertyMapConcept )); BOOST_CONCEPT_ASSERT((ReadablePropertyMapConcept )); return 0; }