id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 8327,iostream header and std::cout in hpp files must be removed.,pjtsu,John Maddock,"I think that direct including iostream header and ostream instance like cout, cerr or so must be deprecated. Reasons * to support environment which ostream is forbidden like embedded systems. * to entrust output type to library user. Alternative plan is to replace ostream instance to template-type as below.[[BR]] - before {{{#!c template void PrintTest(Iter first, Iter last) { std::cout << std::distance(first, last) << "": ( ""; for (Iter iter = first; iter != last; ++iter) { std::cout << *iter << "" ""; } std::cout << "")"" << std::endl; } }}} - after {{{#!c template void PrintTest(Stream& ostr, Iter first, Iter last) { ostr << std::distance(first, last) << "": ( ""; for (Iter iter = first; iter != last; ++iter) { ostr << *iter << "" ""; } ostr << "")"" << std::endl; } }}} - Even if ostream header is not included, std::distance() and std::endl are ignored until !PrintTest() is substantialized. Subject * boost/algorithm/searching/detail/debugging.hpp * boost/graph/graph_utility.hpp * boost/math/constants/generate.hpp * boost/pending/relaxed_heap.hpp * or so ...",Support Requests,closed,To Be Determined,math,Boost 1.53.0,Problem,fixed,,