MCPcopy Create free account
hub / github.com/danielaparker/jsoncons / main

Function main

examples/src/bson_examples.cpp:324–344  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

322}
323
324int main()
325{
326 std::cout << "\nbson examples\n\n";
327 encode_to_bson();
328 subtype_example();
329 null_example();
330 bool_example();
331 int32_example();
332 int64_example();
333 double_example();
334 utf8_string_example();
335 array_example();
336 duration_example1();
337 binary_example1();
338 binary_example2();
339 decode_decimal128();
340 encode_decimal128();
341 regex_example();
342 oid_example();
343 std::cout << '\n';
344}
345

Callers

nothing calls this directly

Calls 15

encode_to_bsonFunction · 0.85
subtype_exampleFunction · 0.85
null_exampleFunction · 0.85
bool_exampleFunction · 0.85
int32_exampleFunction · 0.85
int64_exampleFunction · 0.85
double_exampleFunction · 0.85
utf8_string_exampleFunction · 0.85
array_exampleFunction · 0.85
binary_example1Function · 0.85
binary_example2Function · 0.85
decode_decimal128Function · 0.85

Tested by

no test coverage detected