Boost logo

Boost :

From: Keith Burton (kb_at_[hidden])
Date: 2002-08-02 10:23:14


Using remove_all instead of remove if unconditional semantics are
required, is dangerous because remove_all does not have the 'not empty
directory' pre-condition

>Incidentally , I do not believe that remove should throw if ! exists(
ph >). >My rationale being the ones who care can use exists( ph )
before and >those who do not get least surprise.

The remove_all function can be used if unconditional semantics are
required.

Thanks,

--Beman

_______________________________________________
Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost


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