Boost logo

Boost :

Subject: Re: [boost] [Boost-commit] svn:boost r67851 - trunk/boost/asio
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-01-15 02:55:56


AMDG

On 1/8/2011 8:47 PM, admin_at_[hidden] wrote:
> Author: wash
> Date: 2011-01-08 23:47:56 EST (Sat, 08 Jan 2011)
> New Revision: 67851
> URL: http://svn.boost.org/trac/boost/changeset/67851
>
> Log:
> Pathscale 4.0.0's stdlib (rw) has a<streambuf> that doesn't include<iostream>;
> added an include to<iostream> here as this file needs it.
>
> Modified: trunk/boost/asio/basic_socket_iostream.hpp
> ==============================================================================
> --- trunk/boost/asio/basic_socket_iostream.hpp (original)
> +++ trunk/boost/asio/basic_socket_iostream.hpp 2011-01-08 23:47:56 EST (Sat, 08 Jan 2011)
> @@ -19,6 +19,7 @@
>
> #if !defined(BOOST_NO_IOSTREAM)
>
> +#include<iostream>
> #include<boost/preprocessor/arithmetic/inc.hpp>
> #include<boost/preprocessor/repetition/enum_binary_params.hpp>
> #include<boost/preprocessor/repetition/enum_params.hpp>

This is more than is needed. std::iostream is defined in <istream>.
<iostream> contains std::cout, etc.

In Christ,
Steven Watanabe


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