On Sat, 23 Jun 2001, Marc Pohl wrote:

> much better solution is, to have a private property _isempty and a 
> method empty() in the URL class.

> seems to be much clearer, if you write
> 
> if (!url.empty()) 

Actually, this solves one of my outstanding beefs with the URL class--it's
difficult to do anything meaningful with invalid URLs. So any URL that's
mangled beyond recognition can be set to empty.

-Geoff


_______________________________________________
htdig-dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to