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
I'm new to Cereal- and it looks super neat. I'm attempting to nest several levels of binary structure (split among several different binary files) for a layout engine I'm working on, however when I compile my test application to produce my data, I get the following static compiler error-
/usr/include/cereal/cereal.hpp:570:23: error: static assertion failed due to requirement 'traits::detail::count_output_serializers<std::variant<std::basic_string<char, std::char_traits<char>, std::allocator<char>>, Point, Color, Rect, FrameShape, FrameStyle, TextAlign, int, float, bool>, cereal::BinaryOutputArchive>::value != 0': cereal could not find any output serialization functions for the provided type and archive combination.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm new to Cereal- and it looks super neat. I'm attempting to nest several levels of binary structure (split among several different binary files) for a layout engine I'm working on, however when I compile my test application to produce my data, I get the following static compiler error-
The static assertion is on line 133, declaring
I'm assuming I'm doing something wrong, but I'm not experienced enough to understand what with the way library is architected. Great job, by the way!
Also, the sample code I'm attempting to compile is included below, thanks! 😁
Beta Was this translation helpful? Give feedback.
All reactions