<memory>(包括了auto_ptr,shared_ptr等各种指针)
gt 指针 各种 lt 包括 memory Auto shared
2023-09-11 14:19:08 时间
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 )
http://www.cplusplus.com/reference/memory/
相关文章
- mybatis提取<where><if>共用代码
- 二进制数据的序列化反序列化和Json的序列化反序列化的重要区别 <<C语言--神奇的指针>> 【1】Asp.Net Core2.2从环境配置到应用建立 加密解密帮助类 WebApi FromBody参数
- C# MVC 用户登录状态判断 【C#】list 去重(转载) js 日期格式转换(转载) C#日期转换(转载) Nullable<System.DateTime>日期格式转换 (转载) Asp.Net MVC中Action跳转(转载)
- C# Json反序列化 C# 实现表单的自动化测试<通过程序控制一个网页> 验证码处理类:UnCodebase.cs + BauDuAi 读取验证码的值(并非好的解决方案) 大话设计模式:原型模式 C# 深浅复制 MemberwiseClone
- 一则 > ORA-01722: invalid number错误的处理,原因:substr截取的字段中有空格
- 一则> ORA-00907: missing right parenthesis 错误处理,sql 表名 可以加as oracle表名不能加
- 35 C++ - 指针运算符(*、->)重载
- window---->load, document------DOMContentLoaded
- MongoDB学习笔记<七>
- <图形图像,动画,多媒体> 读书笔记 --- 音效
- Python第三方库 -> 由于是ipynb格式,所以没有对应的输出结果
- Cannot assign to read only property 'exports' of object '#<Object>' ,文件名大小写问题!!!
- <机器学习实战>读书笔记--决策树