【C++】STL(Standard Template Library)相談室 8at TECH
【C++】STL(Standard Template Library)相談室 8 - 暇つぶし2ch486:デフォルトの名無しさん
08/01/31 19:54:51
>>482
ない。というか、次期の規格(C++0x)で連続性が保証されるようになる。

N2461) 21.3.1 basic_string general requirements [string.require]
3  The char-like objects in a basic_string object shall be stored contiguously.
   That is, for any basic_string object s, the identity &*(s.begin() + n) == &*s.begin() + n
   shall hold for all values of n such that 0 <= n < s.size().


次ページ
続きを表示
1を表示
最新レス表示
レスジャンプ
類似スレ一覧
スレッドの検索
話題のニュース
おまかせリスト
オプション
しおりを挟む
スレッドに書込
スレッドの一覧
暇つぶし2ch