//======================================================================= // Copyright 1997, 1998, 1999, 2000 University of Notre Dame. // Authors: Andrew Lumsdaine, Lie-Quan Lee, Jeremy G. Siek // // 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 int main(int,char*[]) { using namespace boost; // Check graph concepts againt their archetypes typedef default_constructible_archetype< sgi_assignable_archetype< equality_comparable_archetype<> > > Vertex; typedef incidence_graph_archetype Graph1; BOOST_CONCEPT_ASSERT(( IncidenceGraphConcept )); typedef adjacency_graph_archetype Graph2; BOOST_CONCEPT_ASSERT(( AdjacencyGraphConcept )); typedef vertex_list_graph_archetype Graph3; BOOST_CONCEPT_ASSERT(( VertexListGraphConcept )); BOOST_CONCEPT_ASSERT(( ColorValueConcept )); typedef incidence_graph_archetype G; typedef property_graph_archetype Graph4; BOOST_CONCEPT_ASSERT(( PropertyGraphConcept )); return 0; }