Skip to main content

3 docs tagged with "construction"

View all tags

Creating JSON values

Construction is where the library's convenience is loudest — you can build a document out of

Object Lifetime

Object lifetime spans from construction to destruction. Understanding lifetime is critical for memory safety, RAII, and avoiding undefined behavior.

Placement new

Constructs objects in pre-allocated memory without allocating. Separates construction from allocation for custom memory management.