Skip to main content

One doc tagged with "unique-ptr"

View all tags

std::unique_ptr

Smart pointer with exclusive ownership. Zero overhead, automatic cleanup, move-only semantics. The default choice for dynamic memory.