-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
Serialisation macros: increase upper bound on number of member variables #2287
Conversation
…ion/deserialisation macros for custom types
…ation/deserialisation macros for custom types - netbeans project configurations
…ation/deserialisation macros for custom types - updated .gitignore file to ignore "dist" and "build" directories in netbeans project
…ation/deserialisation macros for custom types - used code to increase the upper bound on number of member variables to 64
…ation/deserialisation macros for custom types - used code to increase the upper bound on number of member variables to 64
…ation/deserialisation macros for custom types - updated .gitignore file to ignore private netbeans project configurations
This solves #2267 |
@nlohmann There is one test that is failing in continuous-integration, specifically with configuration "Xcode: xcode10 C++ AMD64". All other tests are fine. It's failing on 'download_test_data'. Any ideas? |
I restarted the job. |
Thanks. Ready for review |
add inline specifier for detail::combine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think having the tools/NlohmannMacroBuilder/main.cpp file is sufficient, and it should be moved into third_party/macro_builder/main.cpp
to avoid creating a new directory. The Makefiles etc. are overhead as the tool will (if ever) be called by a maintainer if we ever find 64 arguments to be insufficient.
Add static assertion for missing binary function in SAX interface
…ion/deserialisation macros for custom types
…ation/deserialisation macros for custom types - netbeans project configurations
…ation/deserialisation macros for custom types - updated .gitignore file to ignore "dist" and "build" directories in netbeans project
…ation/deserialisation macros for custom types - used code to increase the upper bound on number of member variables to 64
…ation/deserialisation macros for custom types - used code to increase the upper bound on number of member variables to 64
…ation/deserialisation macros for custom types - updated .gitignore file to ignore private netbeans project configurations
…Current upper bound on number of member variables is set to 64
…third_party directory
…ation macro building code, can revert the changes made to the .gitignore file
…ialisation macros
…nt instead. Does the job
Ok, the combination of valgrind with some of the older compilers doesn't like using std::tie and std::tuple to implement the |
…lgrind and clang < 4 complain
Rewrote |
This is still not ready as I have to rebase the fork. This will require a battle with git which i don't have time for today. |
No need to rebase as long as there are no merge conflicts. |
… up. std::tie probably wasn't the problem initially
@nlohmann Seems to be ready |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
Thanks! |
🔖 Release itemThis issue/PR will be part of the next release of the library. This template helps preparing the release notes. Type
Description
|
This pull request contains a bit of rough and ready code to generate the serialisation/deserialisation macros. The upper bound on number of member variables is increased to 64. You can increase the upper bound arbitrarily using the aforementioned code.