C++ doesn't need finally; finally is a Java work-around because Java doesn't have destructors. In C++, throwing an exception causes local objects' destructors to be called. This is better than finally, because you don't need to explicitly add finally code.True, but then you have to wrap every little thing you need cleaned up in a class. It may be good style to do this anyway, but I have rarely seen C++ code that does it properly.
Functions return values. An exception can be a return value, typically false.
posted by SpecialK at 8:18 PM on August 10, 2006