std::stack::operator=
提供: cppreference.com
![]() |
このページは、Google 翻訳を使って英語版から機械翻訳されました。
翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
stack<T, Container>& operator=( const stack<T,Container>& other ); |
(1) | |
stack<T, Container>& operator=( stack<T,Container>&& other ); |
(2) | (C++11およびそれ以降) |
other
のものとコンテナアダプタの内容を置き換え.Original:
Replaces the contents of the container adaptor with those of
other
.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
コピー代入演算子。
2) other
の内容のコピーを使って内容を置き換えます。効果的にc = other.c;呼び出します。 (暗黙的に宣言された)Original:
Copy assignment operator. Replaces the contents with a copy of the contents of
other
. Effectively calls c = other.c;. (暗黙的に宣言された)The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
代入演算子を移動します。ムーブセマンティクスを使用して
other
のものと内容を置き換えます。効果的にコールc = std::move(other.c);(暗黙的に宣言された)Original:
Move assignment operator. Replaces the contents with those of
other
using move semantics. Effectively calls c = std::move(other.c); (暗黙的に宣言された)The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
目次 |
[編集] パラメータ
other | - | ソースとして使用する別のコンテナアダプタ
Original: another container adaptor to be used as source The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[編集] 値を返します
*this
[編集] 複雑
基になるコンテナの{{{1}}}と同等.
Original:
Equivalent to that of {{{1}}} of the underlying container.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[編集] も参照してください
stack を構築します Original: constructs the stack The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (パブリックメンバ関数) |