【初心者歓迎】C/C++室 Ver.29【環境依存OK】
■ このスレッドは過去ログ倉庫に格納されています
0381デフォルトの名無しさん
2006/07/27(木) 14:26:08basic_stringの場合
§21.3.4
4 The functions described in this clause can report two kinds of errors, each associated with a distinct exception:
? a length error is associated with exceptions of type length_error (19.1.4);
? an out-of-range error is associated with exceptions of type out_of_range (19.1.5).
4a For any string operation, if as a result of the operation, size() would exceed max_size() then the
operation throws length_error.
■ このスレッドは過去ログ倉庫に格納されています