OpenKalman
Namespaces | Functions | Variables
compare.hpp File Reference
#include <type_traits>
#include <tuple>
#include "basics/compatibility/language-features.hpp"
#include "basics/compatibility/ranges.hpp"
#include "collections/concepts/collection_view.hpp"
#include "collections/traits/size_of.hpp"
#include "collections/functions/get.hpp"
Include dependency graph for compare.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 OpenKalman::collections
 Namespace for collections.
 

Functions

template<std::size_t i = 0, typename T1 , typename T2 >
constexpr auto OpenKalman::collections::detail::fixed_compare (const T1 &lhs, const T2 &rhs)
 
template<typename Lhs , typename Rhs , std::enable_if_t< detail::comparable< Lhs > and detail::comparable< Rhs >, int > = 0>
constexpr partial_ordering OpenKalman::collections::compare (const Lhs &lhs, const Rhs &rhs)
 Compare two collections.
 
template<typename Lhs , typename Rhs , std::enable_if_t< detail::comparable< Lhs > and detail::comparable< Rhs >, int > = 0>
constexpr bool OpenKalman::collections::operator== (const Lhs &lhs, const Rhs &rhs)
 
template<typename Lhs , typename Rhs , std::enable_if_t< detail::comparable< Lhs > and detail::comparable< Rhs >, int > = 0>
constexpr bool OpenKalman::collections::operator!= (const Lhs &lhs, const Rhs &rhs)
 
template<typename Lhs , typename Rhs , std::enable_if_t< detail::comparable< Lhs > and detail::comparable< Rhs >, int > = 0>
constexpr bool OpenKalman::collections::operator< (const Lhs &lhs, const Rhs &rhs)
 
template<typename Lhs , typename Rhs , std::enable_if_t< detail::comparable< Lhs > and detail::comparable< Rhs >, int > = 0>
constexpr bool OpenKalman::collections::operator> (const Lhs &lhs, const Rhs &rhs)
 
template<typename Lhs , typename Rhs , std::enable_if_t< detail::comparable< Lhs > and detail::comparable< Rhs >, int > = 0>
constexpr bool OpenKalman::collections::operator<= (const Lhs &lhs, const Rhs &rhs)
 
template<typename Lhs , typename Rhs , std::enable_if_t< detail::comparable< Lhs > and detail::comparable< Rhs >, int > = 0>
constexpr bool OpenKalman::collections::operator>= (const Lhs &lhs, const Rhs &rhs)
 

Variables

template<typename T >
constexpr bool OpenKalman::collections::detail::comparable = collection_view<T> and (size_of_v<T> != dynamic_size) or ranges::input_range<T>