[Boost-bugs] [Boost C++ Libraries] #7408: istream_range should not pull istream

Subject: [Boost-bugs] [Boost C++ Libraries] #7408: istream_range should not pull istream
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-09-22 14:42:44


#7408: istream_range should not pull istream
------------------------------------------------------------+---------------
 Reporter: Christopher Yeleighton <giecrilj@…> | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.52.0
 Severity: Optimization | Keywords:
------------------------------------------------------------+---------------
 To minimize the time you have to wait on the compiler, it is good to only
 #include the headers you really need. istream_range.hpp simply #includes
 <istream> when it does not need to — and that can penalize the runtime as
 well.

 <iosfwd> should be #included whenever you simply need the name of an
 I/O-related class, such as "basic_istream". Like the name implies, these
 are forward declarations.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7408>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:10 UTC