词条 | 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条中文百科知识,基本涵盖了大多数领域的百科知识,是一部内容开放、自由的电子版百科全书。