$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Beman Dawes (bdawes_at_[hidden])
Date: 2002-02-28 18:17:14
At 10:05 AM 2/28/2002, Aleksey Gurtovoy wrote:
 >Stewart, Robert wrote:
 >> There are two approaches to such functions: return bool or a
 >> status code and wrap to get exceptions, or throw exceptions
 >> and wrap to get a bool or status code.
 >
 >The library can also take the burden of wrapping away from user and 
provide
 >both versions:
 >
 >    void remove(std::string const& path); // throws
 >    bool remove(std::string const& path, std::nothrow_t const&) throw();
 >
 >Just an idea.
The same idea occurred to me.  Needs a bit more thought, but might be a 
reasonable way to encourage good programming practices without requiring 
them where they don't apply.  I like the idea of making the less safe code 
a bit uglier:-)
--Beman