//======================================================================= // 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 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; function_requires< IncidenceGraphConcept >(); typedef adjacency_graph_archetype Graph2; function_requires< AdjacencyGraphConcept >(); typedef vertex_list_graph_archetype Graph3; function_requires< VertexListGraphConcept >(); function_requires< ColorValueConcept >(); typedef incidence_graph_archetype G; typedef property_graph_archetype Graph4; function_requires< PropertyGraphConcept >(); return 0; }