1 #ifndef VTESTBED_GEOMETRY_VERTEX_HH 2 #define VTESTBED_GEOMETRY_VERTEX_HH 4 #include <vtestbed/geometry/types.hh> 10 template <
class T,
int N>
13 using value_type = vtb::geometry::Vertex<T,N>;
16 operator()(
const value_type& lhs,
const value_type& rhs)
const {
17 return std::lexicographical_compare(
18 lhs.data(), lhs.data()+N, rhs.data(), rhs.data()+N
24 template <
class T,
int N>
27 using value_type = vtb::geometry::Vertex<T,N>;
30 operator()(
const value_type& lhs,
const value_type& rhs)
const {
31 return std::equal(lhs.data(), lhs.data()+N, rhs.data());
41 #endif // vim:filetype=cpp