> Does anyone have any other suggestions about design goals?  I've been
> thinking over implementations for days and haven't found anything I like
> yet.  Does anyone know of a project that's done this well, which we can
> borrow ideas from?

Yes, Stroustrup (C++'s creator) himself has similar critics towards assert in 
one of the last chapters of his book 
(http://www.research.att.com/~bs/3rd.html) about C++. He suggests a mechanism 
based on template that throw exceptions. Even if his proposal does not adress 
all your points, I think that it is nevertheless a good reading.

If you don't have access to this book, I could make you a summary (of the 
templatised assert, not of the book ;-)). But this book is very usefull when 
coding with C++ anyway. With it, you'll know why things are how they are, 
it's a bit like having God telling you the ultimate reasons behind the whole 
strange reality! :-)

Steph


_______________________________________________
glob2-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/glob2-devel

Reply via email to