Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::geometry::index::detail::equal_to< std::tuple< Args...>, false > Struct Template Reference

The function object comparing Values. More...

#include <equal_to.hpp>

Public Types

typedef std::tuple< Args...> value_type
 
typedef bool result_type
 The type of result returned by function object. More...
 

Public Member Functions

bool operator() (value_type const &l, value_type const &r) const
 Compare values. More...
 

Detailed Description

template<typename... Args>
struct boost::geometry::index::detail::equal_to< std::tuple< Args...>, false >

The function object comparing Values.

This specialization compares values of type std::tuple<Args...>. It's defined if the compiler supports tuples and variadic templates. It compares all members of the tuple from the first one to the last one.

Member Typedef Documentation

template<typename... Args>
typedef bool boost::geometry::index::detail::equal_to< std::tuple< Args...>, false >::result_type

The type of result returned by function object.

template<typename... Args>
typedef std::tuple<Args...> boost::geometry::index::detail::equal_to< std::tuple< Args...>, false >::value_type

Member Function Documentation

template<typename... Args>
bool boost::geometry::index::detail::equal_to< std::tuple< Args...>, false >::operator() ( value_type const &  l,
value_type const &  r 
) const
inline

Compare values.

If tuple<> Value member is a Geometry geometry::equals() function is used.

Parameters
lFirst value.
rSecond value.
Returns
true if values are equal.

References boost::program_options::value().


The documentation for this struct was generated from the following file: