16 #ifndef OPENKALMAN_PATTERNS_MAY_MATCH_WITH_HPP 17 #define OPENKALMAN_PATTERNS_MAY_MATCH_WITH_HPP 19 #include "coordinates/coordinates.hpp" 26 template<
typename...Ps>
29 template<
typename P,
typename...Ps>
31 : std::bool_constant<(... and (coordinates::pattern_collection_compares_with<P, Ps, &stdex::is_eq, applicability::permitted>))> {};
33 #ifndef __cpp_concepts 34 template<
typename = void,
typename...Ts>
37 template<
typename...Ts>
39 patterns_may_match_with_impl<decltype(get_pattern_collection(std::declval<Ts>()))...>::value>, Ts...>
51 template<
typename...Ts>
54 (indexible<Ts> and ...) and
57 constexpr
bool patterns_may_match_with =
58 (indexible<Ts> and ...) and
constexpr bool value
T is a fixed or dynamic value that is reducible to a number.
Definition: value.hpp:45
The root namespace for OpenKalman.
Definition: basics.hpp:34
constexpr bool patterns_may_match_with
Specifies that indexible objects Ts may have equivalent dimensions and vector-space types...
Definition: patterns_may_match_with.hpp:57
Definition: patterns_may_match_with.hpp:27
Definition of get_pattern_collection function.
Definition: patterns_may_match_with.hpp:35