STL
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
&tag(STL);
*目次 [#bdadd8bb]
#contents
*関連ページ [#y92d400d]
*参考情報 [#zc2e0334]
*トラブルシューティング [#o6dc5399]
**「string subscript out of range error」が発生する。 [#d...
-空文字列に対するインデックスアクセスはC++3から不定となっ...
#pre{{
&x[0]
-for empty strings this has undefined behaviour (21.3.4)
e.g. given f(const char* p, size_t n) { if (n == 0) retu...
-otherwise, as per x.data() but:
for non-const x this yields a non-const char* pointer; y...
}}
終了行:
&tag(STL);
*目次 [#bdadd8bb]
#contents
*関連ページ [#y92d400d]
*参考情報 [#zc2e0334]
*トラブルシューティング [#o6dc5399]
**「string subscript out of range error」が発生する。 [#d...
-空文字列に対するインデックスアクセスはC++3から不定となっ...
#pre{{
&x[0]
-for empty strings this has undefined behaviour (21.3.4)
e.g. given f(const char* p, size_t n) { if (n == 0) retu...
-otherwise, as per x.data() but:
for non-const x this yields a non-const char* pointer; y...
}}
ページ名: