annotate DEPENDENCIES/generic/include/boost/graph/point_traits.hpp @ 118:770eb830ec19 emscripten

Typo fix
author Chris Cannam
date Wed, 18 May 2016 16:14:08 +0100
parents 2665513ce2d3
children
rev   line source
Chris@16 1 // Copyright 2004, 2005 The Trustees of Indiana University.
Chris@16 2
Chris@16 3 // Use, modification and distribution is subject to the Boost Software
Chris@16 4 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
Chris@16 5 // http://www.boost.org/LICENSE_1_0.txt)
Chris@16 6
Chris@16 7 // Authors: Douglas Gregor
Chris@16 8 // Andrew Lumsdaine
Chris@16 9 #ifndef BOOST_GRAPH_POINT_TRAITS_HPP
Chris@16 10 #define BOOST_GRAPH_POINT_TRAITS_HPP
Chris@16 11
Chris@16 12 namespace boost { namespace graph {
Chris@16 13
Chris@16 14 template<typename Point>
Chris@16 15 struct point_traits
Chris@16 16 {
Chris@16 17 // The type of each component of the point
Chris@16 18 typedef typename Point::component_type component_type;
Chris@16 19
Chris@16 20 // The number of dimensions in the point
Chris@16 21 static std::size_t dimensions(const Point& point);
Chris@16 22 };
Chris@16 23
Chris@16 24 } } // end namespace boost::graph
Chris@16 25
Chris@16 26 #endif // BOOST_GRAPH_POINT_TRAITS_HPP