mirror of
https://github.com/matrix-construct/construct
synced 2024-11-17 07:20:55 +01:00
ircd::simd: Add typedef for corresponding type in the unaligned wrapper.
This commit is contained in:
parent
98dd705de9
commit
c9156b0f99
1 changed files with 3 additions and 1 deletions
|
@ -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) \
|
||||
{ \
|
||||
|
|
Loading…
Reference in a new issue