Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_34_1/libs/graph/test/leda_graph_cc.cpp @ 47

Last change on this file since 47 was 29, checked in by landauf, 17 years ago

updated boost from 1_33_1 to 1_34_1

File size: 1.5 KB
Line 
1//=======================================================================
2// Copyright 1997, 1998, 1999, 2000 University of Notre Dame.
3// Authors: Andrew Lumsdaine, Lie-Quan Lee, Jeremy G. Siek
4//
5// Distributed under the Boost Software License, Version 1.0. (See
6// accompanying file LICENSE_1_0.txt or copy at
7// http://www.boost.org/LICENSE_1_0.txt)
8//=======================================================================
9#include <boost/graph/graph_concepts.hpp>
10#include <boost/graph/leda_graph.hpp>
11
12
13int
14main(int,char*[])
15{
16  using namespace boost;
17  {
18    typedef leda::GRAPH<int,int> Graph;
19    typedef graph_traits<Graph>::vertex_descriptor Vertex;
20    typedef graph_traits<Graph>::edge_descriptor Edge;
21    function_requires< VertexListGraphConcept<Graph> >();
22    function_requires< BidirectionalGraphConcept<Graph> >();
23    function_requires< AdjacencyGraphConcept<Graph> >();
24    function_requires< VertexMutableGraphConcept<Graph> >();
25    function_requires< EdgeMutableGraphConcept<Graph> >();
26    function_requires< VertexMutablePropertyGraphConcept<Graph> >();
27    function_requires< EdgeMutablePropertyGraphConcept<Graph> >();
28    function_requires<
29      ReadablePropertyGraphConcept<Graph, Vertex, vertex_index_t> >();
30    function_requires<
31      ReadablePropertyGraphConcept<Graph, Edge, edge_index_t> >();
32    function_requires<
33      LvaluePropertyGraphConcept<Graph, Vertex, vertex_all_t> >();
34    function_requires<
35      LvaluePropertyGraphConcept<Graph, Vertex, edge_all_t> >();
36  }
37  return 0;
38}
Note: See TracBrowser for help on using the repository browser.