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
The reason for this is that cereal::binary_data() uses a "universal reference" as first parameter which is forwarded as const int*& in the example above which is afterwards not handled correctly in struct BinaryData
The text was updated successfully, but these errors were encountered:
If you pass an lvalue pointer to a const type to
cereal::binary_data()
the code does not compile with:Here is a short code to reproduce the issue:
The reason for this is that
cereal::binary_data()
uses a "universal reference" as first parameter which is forwarded asconst int*&
in the example above which is afterwards not handled correctly instruct BinaryData
The text was updated successfully, but these errors were encountered: