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:
parent
358008e8e7
commit
4a59ea5b4a
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue