You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
arr -= 3 //Note: this will throw an exception if the array's size becomes < 0
What does it mean exception here? Application crash or something ala C++ with exception hierarchies and various levels of exception safety? This word is not mentioned anywhere else in the spec.
The text was updated successfully, but these errors were encountered:
In debug mode (the default), this will not throw a C++ exception, rather it will fail with a single error message. The bounds are checked beforehand to do this. In release mode (the only implemented mode so far), it will just crash. Sorry for the ambiguity.
The file language.an contains line:
arr -= 3 //Note: this will throw an exception if the array's size becomes < 0
What does it mean exception here? Application crash or something ala C++ with exception hierarchies and various levels of exception safety? This word is not mentioned anywhere else in the spec.
The text was updated successfully, but these errors were encountered: