Boost logo

Boost :

From: Giovanni Bajo (giovannibajo_at_[hidden])
Date: 2002-07-16 06:24:24


----- Original Message -----
From: "Joerg Baumann" <Joerg.Baumann_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Tuesday, July 16, 2002 12:50 PM
Subject: [boost] make_string (was proposal: temporary_ostringstream)

> Hi,
>
> after receiving only approving comments I cleaned up the code and put it
> on http://groups.yahoo.com/group/boost/files/make_string/make_string1.cpp

Comeau complains:

"make_string1.cpp", line 192: error: "ext::make_basic_string<Check, CharT,
          TraitsT, AllocT>::make_basic_string(ext::make_basic_string<Check,
          CharT, TraitsT, AllocT> &) [with
          Check=ext::make_basic_string_policies::throw_on_error, CharT=char,
          TraitsT=std::char_traits<char>, AllocT=std::allocator<char>]",
          required for copy that was eliminated, is not callable because
          reference parameter cannot be bound to rvalue
         << (make_string() << 7 << " of " << 9)
            ^

Giovanni Bajo


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