智能指针
智能指针(英语:Smart pointer)是一种抽象的数据类型。在编程中,它通常是经由类别模板(class template)来实做,借由模板(template)来达成泛型,通常借由类别(class)的解构函数来达成自动释放指标所指向的内存或对象。
单词 | Smart pointer |
释义 |
Smart pointer
中文百科
智能指针智能指针(英语:Smart pointer)是一种抽象的数据类型。在编程中,它通常是经由类别模板(class template)来实做,借由模板(template)来达成泛型,通常借由类别(class)的解构函数来达成自动释放指标所指向的内存或对象。
英语百科
Smart pointer 智能指针In computer science, a smart pointer is an abstract data type that simulates a pointer while providing added features, such as automatic memory management or bounds checking. Such features are intended to reduce bugs caused by the misuse of pointers, while retaining efficiency. Smart pointers typically keep track of the memory they point to, and may also be used to manage other resources, such as network connections and file handles. Smart pointers originated in the programming language C++. |
随便看 |
|
英汉网英语在线翻译词典收录了3779314条英语词汇在线翻译词条,基本涵盖了全部常用英语词汇的中英文双语翻译及用法,是英语学习的有利工具。