Go to Google Groups Home    microsoft.public.vc.stl
char_traits bug

Carl Daniel [VC++ MVP] <cpdaniel_remove_this_and_nos...@mvps.org.nospam>

Jason Winnebeck wrote:
> Carl Daniel [VC++ MVP] wrote:
>> It would help if you could post a complete example that illustrates
>> the behavior you're reporting as a bug.   I assume you did #include
>> <string>? I'm not sure that std::char_traits is required to be
>> defined if you haven't explicitly included <string>
> Perhaps, though, I will try including it.  But as I said, replacing
> the typedef'd element of streambuf with its definition fixes the
> problem, which is, I believe, to be a very clear sign that something
> is wrong.

It may well be.  Without a complete example it's much harder to speculate.
With a complete example it's much more likely that a bug, if there is one,
will get fixed.  FWIW it does sound like a bug to me.

-cd