From: Richard Webb (richard.webb_at_[hidden])
Date: 2008-04-18 07:26:16


John Maddock <john <at> johnmaddock.co.uk> writes:

>
> This looks like a bug in the MS/Dinkumware implementation: the typedef
> char_class_type is required to be a bitmask type, and bitmask types aren't
> required to support operator&&. The only thing I haven't checked is the
> latest draft std: the website isn't responding at present
>

I've asked about this (and a couple of other failures on the Visual C++ blog.
The MS response is @
http://blogs.msdn.com/vcblog/archive/2008/04/07/visual-c-2008-feature-pack-released.aspx#8405685

To confirm i've got the right idea about the failure:
The test that's failing is using the tr1 basic_regex along with a boost traits
class. The boost traits class uses a bitset for the char_class_type, whereas the
MS version uses an int.
The failure is then because the MS regex can't handle a bitset as the
char_class_type, due to the lack of an operator&& ?

The only other failure outside type_traits that i haven't raised yet is in
result_of (http://tinyurl.com/5gg58e). I haven't used result_of and i'm not sure
what problem the failure indicates. Does anyone have any other thoughts about it?

Thanks,
Richard Webb