A64 inferface: Use two argument static_assert
Don't require C++17 in the interface to the library
This commit is contained in:
parent
0992987c98
commit
989d036e65
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ public:
|
||||||
void SetRegisters(const std::array<std::uint64_t, 31>& value);
|
void SetRegisters(const std::array<std::uint64_t, 31>& value);
|
||||||
|
|
||||||
using Vector = std::array<std::uint64_t, 2>;
|
using Vector = std::array<std::uint64_t, 2>;
|
||||||
static_assert(sizeof(Vector) == sizeof(std::uint64_t) * 2);
|
static_assert(sizeof(Vector) == sizeof(std::uint64_t) * 2, "Vector must be 128 bits in size");
|
||||||
|
|
||||||
/// Read floating point and SIMD register.
|
/// Read floating point and SIMD register.
|
||||||
Vector GetVector(std::size_t index) const;
|
Vector GetVector(std::size_t index) const;
|
||||||
|
|
Loading…
Reference in a new issue