//======================================================================= // Copyright 2009 Trustees of Indiana University. // Authors: Michael Hansen, Andrew Lumsdaine // // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) //======================================================================= #include #include #include #include using namespace boost; template void check() { typedef grid_graph Graph; typedef typename graph_traits::vertex_descriptor Vertex; typedef typename graph_traits::edge_descriptor Edge; BOOST_CONCEPT_ASSERT((BidirectionalGraphConcept )); BOOST_CONCEPT_ASSERT((VertexListGraphConcept )); BOOST_CONCEPT_ASSERT((EdgeListGraphConcept )); BOOST_CONCEPT_ASSERT((IncidenceGraphConcept )); BOOST_CONCEPT_ASSERT((AdjacencyGraphConcept )); BOOST_CONCEPT_ASSERT((AdjacencyMatrixConcept )); BOOST_CONCEPT_ASSERT((ReadablePropertyGraphConcept )); BOOST_CONCEPT_ASSERT((ReadablePropertyGraphConcept )); } int main (int, char*[]) { check<0>(); check<1>(); check<2>(); check<3>(); check<4>(); return (0); }