Boost logo

Boost :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2005-03-10 17:36:40

Rob Stewart wrote:

> Let's review. There are several things one needs to do with a
> basic_character:
> - return it from a function
> - test it to determine success
> - compare it to a char/wchar_t
> Have I missed anything?
> Given those requirements the class needs:
> - value semantics
> - safe-bool conversion
> - comparisons with char/wchar_t
> Therefore, I think this will work:

I just verified that Borland 5.6.4 complains of ambiguity when safe-bool and
char conversions are combined. The same is true with a void* conversion instead
of safe-bool. It works with a bool conversion instead of safe-bool, but this
makes me a bit nervous. I'll have to wait until I have a bunch of filters


Boost list run by bdawes at, gregod at, cpdaniel at, john at