MSVCRT std::vector 新しいページはコチラ
提供: yonewiki
(→公開 Public メンバ関数 Insert) |
|||
70行: | 70行: | ||
− | === '''メンバ関数 assign''' === | + | ==== '''メンバ関数 assign''' ==== |
*<span style = "background:linear-gradient(transparent 75%, #cab8d9 75%); font-weight:bold; "><span style="color:deeppink;">void</span> <span style="color:blue;">obj.assign</span>(<span style="color:deeppink;">size_type</span> n, <span style="color:deeppink;">const TypeTemplate&</span> u);</span> | *<span style = "background:linear-gradient(transparent 75%, #cab8d9 75%); font-weight:bold; "><span style="color:deeppink;">void</span> <span style="color:blue;">obj.assign</span>(<span style="color:deeppink;">size_type</span> n, <span style="color:deeppink;">const TypeTemplate&</span> u);</span> | ||
*<span style = "background:linear-gradient(transparent 75%, #cab8d9 75%); font-weight:bold; "><span style="color:deeppink;">void</span> <span style="color:blue;">obj.assign</span>(<span style="color:deeppink;">InputIterator</span> first, <span style="color:deeppink;">InputIterator</span> last);</span> | *<span style = "background:linear-gradient(transparent 75%, #cab8d9 75%); font-weight:bold; "><span style="color:deeppink;">void</span> <span style="color:blue;">obj.assign</span>(<span style="color:deeppink;">InputIterator</span> first, <span style="color:deeppink;">InputIterator</span> last);</span> | ||
104行: | 104行: | ||
− | === '''メンバ関数 push_back''' === | + | ==== '''メンバ関数 push_back''' ==== |
*<span style = "background:linear-gradient(transparent 75%, #cab8d9 75%); font-weight:bold; "><span style="color:deeppink;">void</span> <span style="color:blue;">obj.push_back</span>(<span style="color:deeppink;">const TypeTemplate&</span> typeObjValue);</span> | *<span style = "background:linear-gradient(transparent 75%, #cab8d9 75%); font-weight:bold; "><span style="color:deeppink;">void</span> <span style="color:blue;">obj.push_back</span>(<span style="color:deeppink;">const TypeTemplate&</span> typeObjValue);</span> | ||
*<span style = "background:linear-gradient(transparent 75%, #cab8d9 75%); font-weight:bold; "><span style="color:deeppink;">void</span> <span style="color:blue;">obj.push_back</span>(<span style="color:deeppink;">TypeTemplate&&</span> typeObjValue);</span> | *<span style = "background:linear-gradient(transparent 75%, #cab8d9 75%); font-weight:bold; "><span style="color:deeppink;">void</span> <span style="color:blue;">obj.push_back</span>(<span style="color:deeppink;">TypeTemplate&&</span> typeObjValue);</span> |