ForNext
Only Do What Only You Can Do
077. vector out of bounds result
Hyperpolyglot C++ Style Languages: C++, Objective C, Java, C# より (2012.05.08)
VBScript
JScript
Perl
PHP
Python
Ruby
PowerShell
Scala
F#
C
C++
vec[] has undefined behavior vec.at() raises out_of_range
C++Builder
VC++
C#
throws System.ArgumentOutOfRangeException
Java
throws ArrayIndexOutOfBoundsException
Objective-C
raises NSRangeException