Boost logo

Boost :

From: Jeremy Maitin-Shepard (jbms_at_[hidden])
Date: 2004-01-03 21:33:24


David Abrahams <dave_at_[hidden]> writes:

> [snip]

> Shouldn't that be up to the user? If the user wants to terminate()
> the program immediately, should she have to pay for the erasure
> anyway?

> Why is an cleared hash table any more useful than any other state it
> might end up in?

Okay, you've convinced me. I've updated the implementation to not
erase all of the elements if an exception is thrown by the hash
function during a rehash. I also wrapped the wchar_t hash function
specialization in an #ifndef BOOST_NO_INTRINSIC_WCHAR_T, as suggested
by Pavel Vozenilek.

> [snip]

-- 
Jeremy Maitin-Shepard

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk