|
Boost : |
From: Daryle Walker (darylew_at_[hidden])
Date: 2004-04-25 13:24:40
On 4/15/04 6:26 AM, "John Torjo" <john.lists_at_[hidden]> wrote:
[SNIP]
> // allow writing to a log
> template<class char_type, class traits = ::std::char_traits<char_type>,
> class aloc = ::std::allocator<char_type> >
> struct basic_logstream {
[SNIP]
> typedef std::ostream & (*ostream_func)(std::ostream & );
> basic_logstream & operator<<( ostream_func f) {
> f( m_buffer);
> return *this;
> }
[TRUNCATE]
Shouldn't "ostream_func" match the character and traits types?
-- Daryle Walker Mac, Internet, and Video Game Junkie darylew AT hotmail DOT com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk