I'm not sure if a boost exception class is *needed*, but I see no problem in
having one.
Anyway, IIF such an exception class is defined, I *strongly* encourage (as I
did in the past) that it provides:

  virtual void raise() const
  {
    #ifndef BOOST_NO_EXCEPTIONS
      throw *this ;
    #endif
  }

and that boost libraries throw such exceptions *only* by calling .raise():
i.e. never with a throw expression directly in the user code.

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

Reply via email to