0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-29 12:18:54 +02:00

ircd::simd: Add typedef for corresponding type in the unaligned wrapper.

This commit is contained in:
Jason Volk 2020-09-08 23:34:57 -07:00
parent 98dd705de9
commit c9156b0f99

View file

@ -23,9 +23,11 @@ __attribute__((aligned(1))) \
__attribute__((visibility("internal"))) \
NAME \
{ \
using value_type = TYPE; \
\
TYPE val; \
\
operator TYPE () const { return val; } \
operator TYPE() const { return val; } \
\
template<class T> NAME &operator=(T&& t) \
{ \