Giter Club home page Giter Club logo

boost_mongo's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

boost_mongo's Issues

Serializing bool types

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

Compiling Error

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.