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

ircd::simd: Add broad_cast template without required deduction argument.

This commit is contained in:
Jason Volk 2020-09-26 20:26:58 -07:00
parent 30e5a0110c
commit 42fd88d169

View file

@ -16,6 +16,20 @@ namespace ircd::simd
template<class T,
class V>
T broad_cast(T, const V) noexcept;
template<class T,
class V>
T broad_cast(const V) noexcept;
}
template<class T,
class V>
[[using gnu: always_inline, gnu_inline, artificial]]
extern inline T
ircd::simd::broad_cast(const V v)
noexcept
{
return broad_cast(T{}, v);
}
template<class T,