Andre Poenitz <[EMAIL PROTECTED]> writes:

| On Wed, Feb 21, 2007 at 10:19:57AM +0100, Lars Gullik Bjønnes wrote:
| > |                   if (runparams.linelen > 0 &&
| > |                       currlinelen + word.length() > runparams.linelen) {
| > |                           os << '\n';
| > 
| > I wonder... it is wise to compare ucs4 chars directly to chars?
| 
| This is safe. Integer promotion.

and when char is signed?

| > Or should be wrap it up? (same for direct comparion to META_INSET
| > really...)
| > 
| > is_inset(c) || is_space(c)
| 
| Not really needed. Especially is_space() suggests something more complex
| than s simple comparison to ' '.

But perhaps it should be possible to have this more complex than a
simple comparison to ' '.
 
-- 
        Lgb

Reply via email to