You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Structures containing bitfields give the compile errors below, packing seems to make no difference (was not expecting it to make any difference anyway)
...include\rfl\internal\bind_to_tuple.hpp(73,1): error C2664: 'std::tuple<uint8_t &,uint8_t &,uint8_t &,uint8_t &,uint64_t &> std::tie<uint8_t,uint8_t,uint8_t,uint8_t,uint64_t>(uint8_t &,uint8_t &,uint8_t &,uint8_t &,uint64_t &) noexcept': cannot convert argument 1 from 'uint8_t' to 'uint8_t &'
...include\rfl\internal\no_duplicate_field_names.hpp(24,19): error C2338: static_assert failed: 'Duplicate field names are not allowed in either named tuples or Literals.'
Expected Behavior
No compilation error
Current Behavior
Structures containing bitfields give the compile errors below, packing seems to make no difference (was not expecting it to make any difference anyway)
How to Reproduce
main.cpp
Context (Environment)
Microsoft Visual Studio Community 2022 (64-bit) - Current
Version 17.10.1
/std:c++20
Windows 11
The text was updated successfully, but these errors were encountered: