-
Type: Task
-
Resolution: Incomplete
-
Priority: Minor - P4
-
None
-
Affects Version/s: 0.2.0
-
Component/s: API
-
None
-
Environment:ubuntu (14.04 current; standard g++)
I have had quite a few problems learning to use the new C++ driver. It's things like an apparent inconsistency in bsoncxx/builder/stream/document's handling of open/close document and open/close array, maybe missing overloaded append functions in stream-core, and a lack of clarity about handling types. I've found that I am having to use instances of type::b_document and types::b_array in ways that seem unnatural - but I couldn't find another way to get things to work.
Attached file has my example program with comments identifying difficulties.
Are there alternative ways of doing the things where I had problems?
- is related to
-
CXX-1202 Document how to build array in a loop with stream builder
- Closed