掲示板システム
ホーム
アクセス解析
カテゴリ
ログアウト
vector の最後の要素+1 へのポインタは取っていい? (ID:73311)
名前
ホームページ(ブログ、Twitterなど)のURL (省略可)
本文
> 実装上問題ないのは確認済み、っつことで rationale 期待中。 これ↓でいっすか? N3376 23.3.6.1 Class template vector overview ... The elements of a vector are stored contiguously, meaning that if v is a vector<T, Allocator> where T is some type other than bool, then it obeys the identity &v[n] == &v[0] + n for all 0 <= n < v.size().
←解決時は質問者本人がここをチェックしてください。
更新する
戻る
掲示板システム
Copyright 2021 Takeshi Okamoto All Rights Reserved.