OpenKalman
Functions
make_fixed_size_adapter_like.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<std::size_t I, typename... Ts>
decltype(auto) constexpr OpenKalman::internal::detail::best_desc_Ts_impl (const Ts &...ts)
 
template<typename... Ts, typename Arg , std::size_t... Ix>
decltype(auto) constexpr OpenKalman::internal::detail::make_fixed_size_adapter_like_impl (Arg &&arg, std::index_sequence< Ix... >)
 
template<typename... Ts, typename Arg , std::enable_if_t<(... and indexible< Ts >) and vector_space_descriptors_may_match_with< Arg, Ts... > and(index_count_v< Arg > !=dynamic_size), int > = 0>
decltype(auto) constexpr OpenKalman::internal::make_fixed_size_adapter_like (Arg &&arg)
 Make the best possible FixedSizeAdapter, if applicable, derived from the sizes of several objects. More...
 

Function Documentation

◆ make_fixed_size_adapter_like()

template<typename... Ts, typename Arg , std::enable_if_t<(... and indexible< Ts >) and vector_space_descriptors_may_match_with< Arg, Ts... > and(index_count_v< Arg > !=dynamic_size), int > = 0>
decltype(auto) constexpr OpenKalman::internal::make_fixed_size_adapter_like ( Arg &&  arg)

Make the best possible FixedSizeAdapter, if applicable, derived from the sizes of several objects.

Template Parameters
TsOptional indexible objects on which to base the fixed dimensions
Returns
(1) A fixed size adapter or (2) a reference to the argument unchanged.