sl@0: //======================================================================= sl@0: // Copyright 1997, 1998, 1999, 2000 University of Notre Dame. sl@0: // Authors: Andrew Lumsdaine, Lie-Quan Lee, Jeremy G. Siek sl@0: // sl@0: // Distributed under the Boost Software License, Version 1.0. (See sl@0: // accompanying file LICENSE_1_0.txt or copy at sl@0: // http://www.boost.org/LICENSE_1_0.txt) sl@0: //======================================================================= sl@0: /* sl@0: * © Portions copyright (c) 2006-2007 Nokia Corporation. All rights reserved. sl@0: */ sl@0: sl@0: #include sl@0: #include sl@0: sl@0: #ifdef __SYMBIAN32__ sl@0: #include "std_log_result.h" sl@0: #define LOG_FILENAME_LINE __FILE__, __LINE__ sl@0: #endif sl@0: int main(int,char*[]) sl@0: { sl@0: using namespace boost; sl@0: sl@0: // Check graph concepts againt their archetypes sl@0: typedef default_constructible_archetype< sl@0: sgi_assignable_archetype< equality_comparable_archetype<> > > Vertex; sl@0: sl@0: typedef incidence_graph_archetype Graph1; sl@0: function_requires< IncidenceGraphConcept >(); sl@0: sl@0: typedef adjacency_graph_archetype Graph2; sl@0: function_requires< AdjacencyGraphConcept >(); sl@0: sl@0: typedef vertex_list_graph_archetype Graph3; sl@0: function_requires< VertexListGraphConcept >(); sl@0: sl@0: function_requires< ColorValueConcept >(); sl@0: sl@0: typedef incidence_graph_archetype G; sl@0: typedef property_graph_archetype sl@0: Graph4; sl@0: function_requires< PropertyGraphConcept >(); sl@0: sl@0: #ifdef __SYMBIAN32__ sl@0: sl@0: std_log(LOG_FILENAME_LINE,"[End Test Case ]"); sl@0: sl@0: testResultXml("graph_concepts"); sl@0: close_log_file(); sl@0: #endif sl@0: return 0; sl@0: }