ignatz / boost_mongo Goto Github PK
View Code? Open in Web Editor NEWA Mongo/JSON Boost Serialization Archiver
License: GNU Lesser General Public License v3.0
A Mongo/JSON Boost Serialization Archiver
License: GNU Lesser General Public License v3.0
The serialization in for bools for the json archive follows the path of a double, resulting in all bool values being set to false even if they should be true
When trying to compile my test program I get the following error:
../mongodb_test/boost/archive/mongo_oarchive.hpp:67:3: error: invalid static_cast from type 'const boost::archive::object_id_type' to type 'const type& {aka const unsigned int&}'
../mongodb_test/boost/archive/mongo_oarchive.hpp: In instantiation of 'typename std::enable_if<typename boost::fusion::result_of::has_key<boost::fusion::map<boost::fusion::pair<boost::archive::class_id_type, short int>, boost::fusion::pair<boost::archive::class_id_optional_type, short int>, boost::fusion::pair<boost::archive::class_id_reference_type, short int>, boost::fusion::pair<boost::archive::object_id_type, unsigned int>, boost::fusion::pair<boost::archive::object_reference_type, short unsigned int>, boost::fusion::pair<boost::archive::version_type, unsigned int>, boost::fusion::pair<boost::archive::tracking_type, bool> >, T>::type:: value>::type boost::archive::mongo_oarchive::save_override(const T&, int) [with T = boost::archive::object_id_type; typename std::enable_if<typename boost::fusion::result_of::has_key<boost::fusion::map<boost::fusion::pair<boost::archive::class_id_type, short int>, boost::fusion::pair<boost::archive::class_id_optional_type, short int>, boost::fusion::pair<boost::archive::class_id_reference_type, short int>, boost::fusion::pair<boost::archive::object_id_type, unsigned int>, boost::fusion::pair<boost::archive::object_reference_type, short unsigned int>, boost::fusion::pair<boost::archive::version_type, unsigned int>, boost::fusion::pair<boost::archive::tracking_type, bool> >, T>::type:: value>::type = void]':
/usr/include/boost/archive/detail/interface_oarchive.hpp:63:9: required from 'Archive& boost::archive::detail::interface_oarchive<Archive>::operator<<(T&) [with T = const boost::archive::object_id_type; Archive = boost::archive::mongo_oarchive]'
/usr/include/boost/archive/detail/common_oarchive.hpp:45:9: required from 'void boost::archive::detail::common_oarchive<Archive>::vsave(boost::archive::object_id_type) [with Archive = boost::archive::mongo_oarchive]'
../mongodb_test/data/person.cpp:5:1: required from here
Compiled on arch-linux 64bit - g++ version 4.7.2 - Boost version 1.50
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.