std::stack<T,Container>::operator=
来自cppreference.com
stack& operator=( const stack& other );
|
(1) | (隐式声明) |
stack& operator=( stack&& other );
|
(2) | (C++11 起) (隐式声明) |
以给定实参的内容替换容器适配器的内容。
other 的内容副本替换内容。相当于调用 c = other.c;。other 的内容替换内容。相当于调用 c = std::move(other.c);。| other | - | 用作源的另一容器适配器 |
*this
operator= 的复杂度。| 本节未完成 原因:暂无示例 |
构造 stack (公开成员函数) [编辑] |