* do not expose this interface.
*/
//@{
-template <typename Graph>
-void test_vertex_list_graph(Graph const& g) {
+template < typename Graph > void test_vertex_list_graph(Graph const& g)
+{
using namespace boost;
- BOOST_CONCEPT_ASSERT((VertexListGraphConcept<Graph>));
+ BOOST_CONCEPT_ASSERT((VertexListGraphConcept< Graph >));
std::cout << "...test_vertex_list_graph\n";
- typedef typename graph_traits<Graph>::vertex_iterator Iterator;
- typedef std::pair<Iterator, Iterator> Range;
+ typedef typename graph_traits< Graph >::vertex_iterator Iterator;
+ typedef std::pair< Iterator, Iterator > Range;
Range rng = vertices(g);
BOOST_ASSERT(num_vertices(g) == N);
* do not expose this interface.
*/
//@{
-template <typename Graph>
-void test_edge_list_graph(Graph const& g) {
+template < typename Graph > void test_edge_list_graph(Graph const& g)
+{
using namespace boost;
- BOOST_CONCEPT_ASSERT((EdgeListGraphConcept<Graph>));
+ BOOST_CONCEPT_ASSERT((EdgeListGraphConcept< Graph >));
std::cout << "...test_edge_list_graph\n";
- typedef typename graph_traits<Graph>::edge_iterator Iterator;
- typedef std::pair<Iterator, Iterator> Range;
+ typedef typename graph_traits< Graph >::edge_iterator Iterator;
+ typedef std::pair< Iterator, Iterator > Range;
Range rng = edges(g);
BOOST_ASSERT(num_edges(g) == M);