RE: [libxml++] using throw() in function declaration



> From: Christophe de VIENNE [mailto:cdevienne alphacent com] 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Le Samedi 12 Juillet 2003 18:40, Christophe de Vienne a écrit :
> > Le Samedi 12 Juillet 2003 18:00, Murray Cumming Comneon com 
> a écrit :
> 
> > > Personally I've never really figured out a policy for 
> this, but I'm sure
> > > there are some documents on the web about it. It would be 
> nice to find
> > > out the consensus of C++ coders on this these days.
> >
> > I don't know about such a document.
> >
> 
> Now I know :-)
> 
> > [...]
> > Next week I'll try to find reference on the subject, for 
> now I'm leaving
> > for the week-end.
> 
> I found two interesting articles :
> 
> http://www.gotw.ca/publications/mill22.htm
> http://www.gotw.ca/gotw/082.htm
>
> After a read of these, I confirm my position on this point.
>
> If we agree on that, I'll remove throw specifications existing in
libxml++.

Yes, I agree. If there's no way to do it properly then we shouldn't do it.

If particular methods are likely to throw particular exceptions then we
probably should mention that in the doxygen comments.

Murray Cumming
murrayc usa net
www.murrayc.com 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]