OpenKalman
Classes | Namespaces | Functions
tuple_reverse.hpp File Reference
#include <type_traits>
#include <tuple>
#include "collections/concepts/tuple_like.hpp"
Include dependency graph for tuple_reverse.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  OpenKalman::collections::tuple_reverse_view< T >
 A view of a tuple that reverses the order of a base tuple. More...
 
struct  std::tuple_size< OpenKalman::collections::tuple_reverse_view< T > >
 
struct  std::tuple_element< i, OpenKalman::collections::tuple_reverse_view< T > >
 

Namespaces

 OpenKalman::collections
 Namespace for collections.
 

Functions

template<typename Arg >
 OpenKalman::collections::tuple_reverse_view (Arg &&) -> tuple_reverse_view< Arg >
 Deduction guide.
 
template<typename Arg , std::enable_if_t< tuple_like< Arg >, int > = 0>
constexpr auto OpenKalman::collections::tuple_reverse (Arg &&arg)
 Reverses the order of a tuple_like object.
 
template<typename T , std::enable_if_t< tuple_like< T > and std::is_default_constructible_v< T >, int > = 0>
constexpr auto OpenKalman::collections::tuple_reverse ()
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.