Re: char_traits bug
From: tom_usenet (tom_usenet_at_hotmail.com)
Date: 02/19/04
- Next message: Ágoston Bejó: "<algorithm> members in the global namespace?"
- Previous message: Reginald Blue: "Re: vector has some of what I need and so does list"
- Next in thread: Jason Winnebeck: "Re: char_traits bug"
- Reply: Jason Winnebeck: "Re: char_traits bug"
- Maybe reply: Kai Henning: "Re: char_traits bug"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 19 Feb 2004 10:41:40 +0000
On Mon, 16 Feb 2004 15:29:21 -0500, Jason Winnebeck
<gillius@mail.rit.nspam.edu> wrote:
>As for the char_traits bug, it is bothersome, but I have to deal with it
>anyway as the code is in a library distributed as source code, and when
>using that preprocessor test it works fine.
This simple workaround seems to fix the problem:
#include <streambuf>
class goutbuf : public std::streambuf {
protected:
int_type overflow(int_type meta =
std::streambuf::traits_type::eof());
};
Tom
C++ FAQ: http://www.parashift.com/c++-faq-lite/
C FAQ: http://www.eskimo.com/~scs/C-faq/top.html
- Next message: Ágoston Bejó: "<algorithm> members in the global namespace?"
- Previous message: Reginald Blue: "Re: vector has some of what I need and so does list"
- Next in thread: Jason Winnebeck: "Re: char_traits bug"
- Reply: Jason Winnebeck: "Re: char_traits bug"
- Maybe reply: Kai Henning: "Re: char_traits bug"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|