| http://www.w3.org/ns/prov#value | - Again, this is not exception safe.So whilst the C++ code is much less verbose, it also ensures that the memory is *always* cleaned up whatever you do with it.In C++, the destructor does not get called if there is an exception in it is constructor...
|