Menu

#1 Note to xb::element

open
nobody
None
5
2007-01-11
2007-01-11
Jan Ringoš
No

This is more a note than a bug. Please note that xb::element which is base for most of the library has a universal templated constructor. One may experience this when using my EXT C++ Library (http://ext.sourceforge.net), for example. Thus you cannot write constructs like: n.props.push_back (ext::echo (1)), because ext::echo is class name, so ext::echo (1) creates an intermediate object, which is then serialized directly and not automaticaly converted to std::string as one may expect.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB