Skip to content

Commit 334d0e5

Browse files
committed
improve the wording in vector::assign().
1 parent a1923fe commit 334d0e5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

reference/vector/vector/assign.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ constexpr void assign(initializer_list<T> il); // (3) C++20
2727
2828
2929
## 要件
30-
- (1) : 型`T``*first`から`X`に対してEmplaceConstructibleでなければならない。イテレータがForward iterators の要件を満たさない場合、型`T`は`X`に対してMoveInsertableでなければならない。`[first, last)`の範囲のそれぞれのイテレータは1回だけ間接参照される。`first`, `last`は自身のイテレータであってはならない。
30+
- (1) : 型`T``*first`から`vector`コンテナへの`EmplaceConstructible`であること。`InputIterator`が前方向イテレータの要件を満たさない場合、型`T`は`vector`コンテナに対してMoveInsertableであること。`[first, last)`の範囲のそれぞれのイテレータは1回だけ間接参照される。`first`, `last`は自身のイテレータであってはならない。
3131
- (2) : `t`は`*this`の要素への参照であってはならない。
3232
3333

0 commit comments

Comments
 (0)