google / highway

Performance-portable, length-agnostic SIMD with runtime dispatch
Apache License 2.0
3.97k stars 308 forks source link

Made C++11/C++14 compilation fixes to Unroller in bit_pack-inl.h #2153

Closed johnplatts closed 2 months ago

johnplatts commented 2 months ago

Fixed compiler errors in bit_pack-inl.h in C++11/C++14 mode by using the NextUnroller typedef in Unroller::pack and Unroller::unpack, which prevents unnecessary template instantiation in the case where C++17 if constexpr support is not available.