New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cereal does not support C++17 #782
Comments
His serialization to json is an error result |
I use the VS2019 C++17 compiler cereal 1.32 |
There is an important difference in your code that is causing this problem. See here: https://uscilab.github.io/cereal/quickstart.html and read the section "Serialize your data" note:
|
ok
…------------------ 原始邮件 ------------------
发件人: "Shane ***@***.***>;
发送时间: 2023年4月24日(星期一) 中午11:14
收件人: ***@***.***>;
抄送: " ***@***.***>; ***@***.***>;
主题: Re: [USCiLab/cereal] cereal does not support C++17 (Issue #782)
There is an important difference in your code that is causing this problem. See here: https://uscilab.github.io/cereal/quickstart.html and read the section "Serialize your data" note:
Important! If you didn’t read that paragraph about cereal using RAII, read it again! Some archives in cereal can only safely finish flushing their contents upon their destruction. Make sure, especially for output serialization, that your archive is automatically destroyed when you are finished with it.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
cereal does not support C++17
The json format serialized in C++17 is incorrect
Serializing json results correctly in C++11 / C++14
How do I fix it to support C++17?
The text was updated successfully, but these errors were encountered: