
9 Mar
2005
9 Mar
'05
11:20 p.m.
Suppose you write a filter which expect ASCII characters. You might want to perform arithmetic operations on characters, e.g.
if (c >= 65 && c < 91) c += 32; // Convert to lowercase.
Surely this is something you would want to discourage?
I'm not sure if the safe-bool conversion is worth all this trouble. Fortunately, it's not a majpr design change. I'll soon be writing lots of non-blocking filters, and I can try both versions.
Well, that's certainly the best way to know. I hope it works out. Matt -- Matthew Vogt mattvogt@warpmail.net