请输入您要查询的百科知识:

 

词条 value_type
释义

stl 之value_type:

其实就是类型的基本元素单位.

下面讲解几个常用的容器

vector:

The type is a synonym for the template parameter T.

这个类型类似于模版参数T.

set:

The type describes an element of the controlled sequence.

描述控制序列的元素类型

list:

The type is a synonym for the template parameter T.

这个类型类似于模版参数T.

map:

typedef pair<const Key, T> value_type;

The type describes an element of the controlled sequence.

描述控制序列的元素类型

随便看

 

百科全书收录4421916条中文百科知识,基本涵盖了大多数领域的百科知识,是一部内容开放、自由的电子版百科全书。

 

Copyright © 2004-2023 Cnenc.net All Rights Reserved
更新时间:2025/3/3 17:14:34