<i id='byiZF'><tr id='byiZF'><dt id='byiZF'><q id='byiZF'><span id='byiZF'><b id='byiZF'><form id='byiZF'><ins id='byiZF'></ins><ul id='byiZF'></ul><sub id='byiZF'></sub></form><legend id='byiZF'></legend><bdo id='byiZF'><pre id='byiZF'><center id='byiZF'></center></pre></bdo></b><th id='byiZF'></th></span></q></dt></tr></i><div id='byiZF'><tfoot id='byiZF'></tfoot><dl id='byiZF'><fieldset id='byiZF'></fieldset></dl></div>

      <small id='byiZF'></small><noframes id='byiZF'>

    1. <tfoot id='byiZF'></tfoot>
    2. <legend id='byiZF'><style id='byiZF'><dir id='byiZF'><q id='byiZF'></q></dir></style></legend>

        <bdo id='byiZF'></bdo><ul id='byiZF'></ul>

        C++中的vector<int>::size_type

        时间:2023-09-16
          <bdo id='NdSJp'></bdo><ul id='NdSJp'></ul>

          <small id='NdSJp'></small><noframes id='NdSJp'>

          • <tfoot id='NdSJp'></tfoot>
          • <legend id='NdSJp'><style id='NdSJp'><dir id='NdSJp'><q id='NdSJp'></q></dir></style></legend>

              <tbody id='NdSJp'></tbody>

                <i id='NdSJp'><tr id='NdSJp'><dt id='NdSJp'><q id='NdSJp'><span id='NdSJp'><b id='NdSJp'><form id='NdSJp'><ins id='NdSJp'></ins><ul id='NdSJp'></ul><sub id='NdSJp'></sub></form><legend id='NdSJp'></legend><bdo id='NdSJp'><pre id='NdSJp'><center id='NdSJp'></center></pre></bdo></b><th id='NdSJp'></th></span></q></dt></tr></i><div id='NdSJp'><tfoot id='NdSJp'></tfoot><dl id='NdSJp'><fieldset id='NdSJp'></fieldset></dl></div>

                  本文介绍了C++中的vector<int>::size_type的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  这个 C++ 语句是什么意思?

                  What is meant by this C++ statement?

                  vector<int>::size_type x;
                  

                  而且,这里的作用域运算符 :: 有什么用?换句话说,我们如何用英语阅读这个声明?

                  And, what is the use of the scope operator :: here? In other words, how do we read this statement in English?

                  例如对于X::x(){...},我们说x()是一个成员函数class X.

                  For example, for X::x(){...}, we say that x() is a member function of class X.

                  推荐答案

                  size_typevector<类型的(静态)成员类型/代码>.通常,它是 std::size_ttypedef,它本身通常是 unsigned inttypedefunsigned long long.

                  size_type is a (static) member type of the type vector<int>. Usually, it is a typedef for std::size_t, which itself is usually a typedef for unsigned int or unsigned long long.

                  这篇关于C++中的vector<int>::size_type的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                      <bdo id='buF77'></bdo><ul id='buF77'></ul>

                          <tbody id='buF77'></tbody>
                        <legend id='buF77'><style id='buF77'><dir id='buF77'><q id='buF77'></q></dir></style></legend>

                        <i id='buF77'><tr id='buF77'><dt id='buF77'><q id='buF77'><span id='buF77'><b id='buF77'><form id='buF77'><ins id='buF77'></ins><ul id='buF77'></ul><sub id='buF77'></sub></form><legend id='buF77'></legend><bdo id='buF77'><pre id='buF77'><center id='buF77'></center></pre></bdo></b><th id='buF77'></th></span></q></dt></tr></i><div id='buF77'><tfoot id='buF77'></tfoot><dl id='buF77'><fieldset id='buF77'></fieldset></dl></div>
                        <tfoot id='buF77'></tfoot>
                        1. <small id='buF77'></small><noframes id='buF77'>