Opened 15 years ago

Closed 15 years ago

#1426 closed Feature Requests (fixed)

Should not include ostream when not needed

Reported by: NN Owned by: Thorsten Ottosen
Milestone: Boost 1.35.0 Component: range
Version: Boost 1.34.1 Severity: Problem
Keywords: Cc:

Description

For example in boost/range/iterator_range.hpp before including ostream should be check for _STLP_NO_IOSTREAMS. There is such check in shared_ptr.hpp and some files.

P.S. There should be some define BOOST_NO_IOSTREAMS which prevents including stream include files when they cannot be used.

Thanks.

Change History (2)

comment:1 by John Maddock, 15 years ago

Component: Nonerange
Owner: set to Thorsten Ottosen

FYI there is such a config macro now.

comment:2 by Thorsten Ottosen, 15 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.