Unordered loads looking good for XML, needs better testing though.

This commit is contained in:
Shane Grant
2013-09-01 15:18:54 -07:00
parent 0a35bd3dc8
commit 04430f32ba
2 changed files with 18 additions and 11 deletions

View File

@@ -537,6 +537,7 @@ int main()
std::cout << "Looked for three but we didn't use an NVP when saving" << std::endl;
}
ar( cereal::make_nvp("five", four) );
ar( cereal::make_nvp("five", four) ); // do it a second time since it shouldn't matter as we provide the name
std::cout << one << std::endl;
std::cout << two << std::endl;