0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-26 07:23:53 +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
{
template<class T>
using lane_type = typename std::remove_reference<decltype(T{}[0])>::type;
template<class T>
constexpr size_t sizeof_lane();