-
Notifications
You must be signed in to change notification settings - Fork 141
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
Deserialization of XML archive fails with std::pmr::string #267
Comments
I wrote a test on the current develop branch that also showed failure in the serializtion to/from the binary_archive.
|
schorsch1976
added a commit
to schorsch1976/serialization
that referenced
this issue
Oct 14, 2022
schorsch1976
added a commit
to schorsch1976/serialization
that referenced
this issue
Oct 14, 2022
I could resolv my issue without modifing boost::serialization as i introduced a shallow type to wrap my string data. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behaviour: Serialization and deserialization of std::pmr::string works like std::string
Observed Behaviour: Exception is thrown at the deserialization of a std::pmr::string. The string is expected to be: "D1" but it is
"D1</value>"
.Reproduction Steps:
OS: Windows 10 21H2 x64
Compiler: MSVC 2019 (16.11.9)
Boost: 1.80.0
The text was updated successfully, but these errors were encountered: