Search:
Reference
<memory>
header
<memory>
Memory elements
This header defines general utilities to manage dynamic memory:
Allocators
allocator
Default allocator
(class template )
allocator_arg
Allocator arg
(object )
allocator_arg_t
Allocator arg type
(class )
allocator_traits
Allocator traits
(class template )
Managed pointers
auto_ptr
Automatic Pointer [deprecated]
(class template )
auto_ptr_ref
Reference to automatic pointer
(class template )
shared_ptr
Shared pointer
(class template )
weak_ptr
Weak shared pointer
(class template )
unique_ptr
Unique pointer
(class template )
default_delete
Default deleter
(class template )
Functions and classes related to
shared_ptr
:
make_shared
Make shared_ptr
(function template )
allocate_shared
Allocate shared_ptr
(function template )
static_pointer_cast
Static cast of shared_ptr
(function template )
dynamic_pointer_cast
Dynamic cast of shared_ptr
(function template )
const_pointer_cast
Const cast of shared_ptr
(function template )
get_deleter
Get deleter from shared_ptr
(function template )
owner_less
Owner-based less-than operation
(class template )
enable_shared_from_this
Enable shared_from_this
(class template )
Uninitialized memory
Raw storage iterator
:
raw_storage_iterator
Raw storage iterator
(class template )
Temporary buffers
:
get_temporary_buffer
Get block of temporary memory
(function template )
return_temporary_buffer
Return block of temporary memory
(function template )
Specialized algorithms
:
uninitialized_copy
Copy block of memory
(function template )
uninitialized_copy_n
Copy block of memory
(function template )
uninitialized_fill
Fill block of memory
(function template )
uninitialized_fill_n
Fill block of memory
(function template )
Memory model
pointer_traits
Pointer traits
(class template )
pointer_safety
Pointer safety enum
(enum class )
declare_reachable
Declare pointer as reachable
(function )
undeclare_reachable
Undeclare pointer as reachable
(function template )
declare_no_pointers
Declare memory block as containing no pointers
(function )
undeclare_no_pointers
Undeclare memory block as containing no pointers
(function )
get_pointer_safety
Get pointer safety
(function )
align
Align in range
(function )
addressof
Address of object or function
(function template )
C++
Information
Tutorials
Reference
Articles
Forum
Reference
C library:
<cassert> (assert.h)
<cctype> (ctype.h)
<cerrno> (errno.h)
<cfenv> (fenv.h)
<cfloat> (float.h)
<cinttypes> (inttypes.h)
<ciso646> (iso646.h)
<climits> (limits.h)
<clocale> (locale.h)
<cmath> (math.h)
<csetjmp> (setjmp.h)
<csignal> (signal.h)
<cstdarg> (stdarg.h)
<cstdbool> (stdbool.h)
<cstddef> (stddef.h)
<cstdint> (stdint.h)
<cstdio> (stdio.h)
<cstdlib> (stdlib.h)
<cstring> (string.h)
<ctgmath> (tgmath.h)
<ctime> (time.h)
<cuchar> (uchar.h)
<cwchar> (wchar.h)
<cwctype> (wctype.h)
Containers:
<array>
<deque>
<forward_list>
<list>
<map>
<queue>
<set>
<stack>
<unordered_map>
<unordered_set>
<vector>
Input/Output:
<fstream>
<iomanip>
<ios>
<iosfwd>
<iostream>
<istream>
<ostream>
<sstream>
<streambuf>
Multi-threading:
<atomic>
<condition_variable>
<future>
<mutex>
<thread>
Other:
<algorithm>
<bitset>
<chrono>
<codecvt>
<complex>
<exception>
<functional>
<initializer_list>
<iterator>
<limits>
<locale>
<memory>
<new>
<numeric>
<random>
<ratio>
<regex>
<stdexcept>
<string>
<system_error>
<tuple>
<type_traits>
<typeindex>
<typeinfo>
<utility>
<valarray>
<memory>
classes:
allocator
allocator_arg_t
allocator_traits
auto_ptr
auto_ptr_ref
bad_weak_ptr
default_delete
enable_shared_from_this
owner_less
pointer_traits
raw_storage_iterator
shared_ptr
unique_ptr
uses_allocator
weak_ptr
enum classes:
pointer_safety
functions:
addressof
align
allocate_shared
const_pointer_cast
declare_no_pointers
declare_reachable
dynamic_pointer_cast
get_deleter
get_pointer_safety
get_temporary_buffer
make_shared
return_temporary_buffer
static_pointer_cast
undeclare_no_pointers
undeclare_reachable
uninitialized_copy
uninitialized_copy_n
uninitialized_fill
uninitialized_fill_n
objects:
allocator_arg