Skip to main content
gamedev.net
🔒 Locked

construct exeptions

Started by Enselic 0 replies 200+ views
Original Post
Enselic
Enselic
since im a bit lazy and since this forum has the hardcoders: can a constructor throw exeptional errors?
Fruny
Fruny
Yes. Refer to your manual for the consequences on object destruction.

Documents [ GDNet | MSDN | STL | OpenGL | Formats | RTFM | Asking Smart Questions ]
C++ Stuff [ MinGW | Loki | SDL | Boost. | STLport | FLTK | ACCU Recommended Books ]
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.