C Plus Plus Memory (CloudMonk.io)

C++ Dynamic memory management



Error: File not found: cpp/memory/navbar

https://en.cppreference.com/w/cpp/memory

=Smart pointers

=
Smart pointers enable automatic, exception-safe, object lifetime management.

Error: File not found: dsc begin
Error: File not found: dsc header ]] | [[ memory
Error: File not found: dsc h2 ]] | [[ Pointer categories
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc unique_ptr
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc shared_ptr
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc weak_ptr
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc auto_ptr
Error: File not found: dsc h2 ]] | [[ Helper classes
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc owner_less
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc enable_shared_from_this
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc bad_weak_ptr
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc default_delete
Error: File not found: dsc h2 ]] | [[ Smart pointer adaptors
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc out_ptr_t
Error: File not found: dsc inc ]] | [[ cpp/memory/out_ptr_t/dsc out_ptr
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc inout_ptr_t
Error: File not found: dsc inc ]] | [[ cpp/memory/inout_ptr_t/dsc inout_ptr
Error: File not found: dsc end

=Allocators

=
Allocators are class templates encapsulating memory allocation strategy. This allows generic containers to decouple memory management from the data itself.

Error: File not found: dsc begin
Error: File not found: dsc header ]] | [[ memory
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc allocator
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc allocator_traits
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc allocation_result
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc allocate_at_least
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc allocator_arg_t
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc allocator_arg
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc uses_allocator
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc uses_allocator_construction_args
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc make_obj_using_allocator
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc uninitialized_construct_using_allocator
Error: File not found: dsc header ]] | [[ scoped_allocator
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc scoped_allocator_adaptor
Error: File not found: dsc header ]] | [[ memory_resource
Error: File not found: dsc namespace]] | [[std::pmr
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc polymorphic_allocator
Error: File not found: dsc end

=Memory resources

=
Memory resources implement memory allocation strategies that can be used by Error: File not found: lc]] | [[std::pmr::polymorphic_allocator

Error: File not found: dsc begin
Error: File not found: dsc header ]] | [[ memory_resource
Error: File not found: dsc namespace]] | [[std::pmr
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc memory_resource
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc new_delete_resource
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc null_memory_resource
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc get_default_resource
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc set_default_resource
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc pool_options
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc synchronized_pool_resource
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc unsynchronized_pool_resource
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc monotonic_buffer_resource
Error: File not found: dsc end

=Uninitialized storage

=
Several utilities are provided to create and access raw storage.
Error: File not found: dsc begin
Error: File not found: dsc header ]] | [[ memory
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc raw_storage_iterator
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc get_temporary_buffer
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc return_temporary_buffer
Error: File not found: dsc end

=Uninitialized memory algorithms

=
Error: File not found: dsc begin
Error: File not found: dsc header ]] | [[ memory
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc uninitialized_copy
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc uninitialized_copy_n
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc uninitialized_fill
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc uninitialized_fill_n
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc uninitialized_move
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc uninitialized_move_n
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc uninitialized_default_construct
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc uninitialized_default_construct_n
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc uninitialized_value_construct
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc uninitialized_value_construct_n
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc destroy_at
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc destroy
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc destroy_n
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc construct_at
Error: File not found: dsc end

=Constrained uninitialized memory algorithms Error: File not found: mark c++20

=
C++20 provides cpp/language/constraints | constrained uninitialized memory algorithms that accept range arguments or iterator-sentinel pairs.

Error: File not found: dsc begin
Error: File not found: dsc header ]] | [[ memory
Error: File not found: dsc namespace ]] | [[ std::ranges
Error: File not found: dsc expos concept ]] | cpp/memory/ranges/nothrow concepts | title=no-throw-input-iterator
no-throw-forward-iterator
no-throw-sentinel-for
no-throw-input-range
no-throw-forward-range
| notes={{mark c++20 | [[ specifies some operation on iterators, sentinels and ranges are non-throwing}}
Error: File not found: dsc inc ]] | [[ cpp/memory/ranges/dsc uninitialized_copy
Error: File not found: dsc inc ]] | [[ cpp/memory/ranges/dsc uninitialized_copy_n
Error: File not found: dsc inc ]] | [[ cpp/memory/ranges/dsc uninitialized_fill
Error: File not found: dsc inc ]] | [[ cpp/memory/ranges/dsc uninitialized_fill_n
Error: File not found: dsc inc ]] | [[ cpp/memory/ranges/dsc uninitialized_move
Error: File not found: dsc inc ]] | [[ cpp/memory/ranges/dsc uninitialized_move_n
Error: File not found: dsc inc ]] | [[ cpp/memory/ranges/dsc uninitialized_default_construct
Error: File not found: dsc inc ]] | [[ cpp/memory/ranges/dsc uninitialized_default_construct_n
Error: File not found: dsc inc ]] | [[ cpp/memory/ranges/dsc uninitialized_value_construct
Error: File not found: dsc inc ]] | [[ cpp/memory/ranges/dsc uninitialized_value_construct_n
Error: File not found: dsc inc ]] | [[ cpp/memory/ranges/dsc destroy_at
Error: File not found: dsc inc ]] | [[ cpp/memory/ranges/dsc destroy
Error: File not found: dsc inc ]] | [[ cpp/memory/ranges/dsc destroy_n
Error: File not found: dsc inc ]] | [[ cpp/memory/ranges/dsc construct_at
Error: File not found: dsc end

=Garbage collector support

=
Error: File not found: dsc begin
Error: File not found: dsc header ]] | [[ memory
Error: File not found: dsc inc ]] | [[ cpp/memory/gc/dsc declare_reachable
Error: File not found: dsc inc ]] | [[ cpp/memory/gc/dsc undeclare_reachable
Error: File not found: dsc inc ]] | [[ cpp/memory/gc/dsc declare_no_pointers
Error: File not found: dsc inc ]] | [[ cpp/memory/gc/dsc undeclare_no_pointers
Error: File not found: dsc inc ]] | [[ cpp/memory/gc/dsc pointer_safety
Error: File not found: dsc inc ]] | [[ cpp/memory/gc/dsc get_pointer_safety
Error: File not found: dsc end

=Miscellaneous

=
Error: File not found: dsc begin
Error: File not found: dsc header ]] | [[ memory
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc pointer_traits
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc to_address
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc addressof
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc align
Error: File not found: dsc inc ]] | [[ cpp/memory/dsc assume_aligned
Error: File not found: dsc end

=cpp/memory/c | C-style memory management

=
Includes e.g. Error: File not found: lc]] | std::malloc, Error: File not found: lc | [[std::free

=cpp/memory/new | Low level memory management

=
Includes e.g. Error: File not found: lc]] | operator new, Error: File not found: lc | operator delete, Error: File not found: lc | [[std::set_new_handler

Error: File not found: langlinks]] | de | es | fr | it | ja | pt | ru | [[zh