0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-18 07:50:57 +01:00

ircd::simd: Add template typedef for lane type.

This commit is contained in:
Jason Volk 2020-09-20 04:35:44 -07:00
parent 358008e8e7
commit 4a59ea5b4a

View file

@ -13,6 +13,9 @@
namespace ircd::simd namespace ircd::simd
{ {
template<class T>
using lane_type = typename std::remove_reference<decltype(T{}[0])>::type;
template<class T> template<class T>
constexpr size_t sizeof_lane(); constexpr size_t sizeof_lane();