OpenKalman
Namespaces | Functions
lexicographical_compare_three_way.hpp File Reference

Definition of lexicographical_compare_three_way for collections. More...

#include <type_traits>
#include "basics/basics.hpp"
#include "collections/traits/size_of.hpp"
#include "collections/functions/get.hpp"
#include "collections/concepts/collection.hpp"
#include "collections/concepts/collection_view.hpp"
Include dependency graph for lexicographical_compare_three_way.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 Lhs , typename Rhs >
constexpr stdex::partial_ordering OpenKalman::collections::detail::fixed_lexicographical_compare (const Lhs &lhs, const Rhs &rhs)
 
template<typename Lhs , typename Rhs , std::enable_if_t< collection< Lhs > and collection< Rhs > and(collection_view< Lhs > or collection_view< Rhs >) and(sized< Lhs > or sized< Rhs >), int > = 0>
constexpr stdex::partial_ordering OpenKalman::collections::lexicographical_compare_three_way (const Lhs &lhs, const Rhs &rhs)
 Compares two collections. More...
 

Detailed Description

Definition of lexicographical_compare_three_way for collections.