Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:37:35

0001 // Copyright 2004, 2005 The Trustees of Indiana University.
0002 
0003 // Use, modification and distribution is subject to the Boost Software
0004 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
0005 // http://www.boost.org/LICENSE_1_0.txt)
0006 
0007 //  Authors: Douglas Gregor
0008 //           Andrew Lumsdaine
0009 #ifndef BOOST_GRAPH_POINT_TRAITS_HPP
0010 #define BOOST_GRAPH_POINT_TRAITS_HPP
0011 
0012 namespace boost
0013 {
0014 namespace graph
0015 {
0016 
0017     template < typename Point > struct point_traits
0018     {
0019         // The type of each component of the point
0020         typedef typename Point::component_type component_type;
0021 
0022         // The number of dimensions in the point
0023         static std::size_t dimensions(const Point& point);
0024     };
0025 
0026 }
0027 } // end namespace boost::graph
0028 
0029 #endif // BOOST_GRAPH_POINT_TRAITS_HPP