Boost logo

Boost :

From: Alexander Nasonov (alnsn_at_[hidden])
Date: 2006-08-07 02:44:26


shams wrote:
> Sorry, never got a reply in the users list,
>
> So fwd'ed here...

Try more traditional approach:

template<class Char, class Traits, class Alloc>
std::basic_ostream<Char,Traits,Alloc> & operator<<(
    std::basic_ostream<Char,Traits,Alloc> &o, const String &s)
{
        return o << s.c_str();
}

-- 
Alexander Nasonov
Project Manager at Akmosoft ( http://www.akmosoft.com )
Blog: http://nasonov.blogspot.com
Email: $(FirstName) dot $(LastName) at gmail dot com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk