| 114 | typename std::enable_if_t< |
| 115 | typetraits::TypeInfo<T>::type != ::librapid::detail::LibRapidType::Scalar, int> = 0> |
| 116 | LIBRAPID_NODISCARD LIBRAPID_ALWAYS_INLINE Packet packetExtractor(const T &obj, |
| 117 | size_t index) { |
| 118 | static_assert(std::is_same_v<Packet, decltype(obj.packet(index))>, |
| 119 | "Packet types do not match"); |
| 120 | return obj.packet(index); |
| 121 | } |
| 122 | |
| 123 | template< |
| 124 | typename Packet, typename T, |