
20 Nov
2006
20 Nov
'06
1:55 a.m.
On Nov 18, 2006, at 10:20 AM, Howard Hinnant wrote:
I did a brief survey of boost 1.33.1 and found many "relaxed" uses of <iostream> under the boost/ directory (i.e. non test-case code). So in practice it does appear that using <iostream> as a shortcut is considered acceptable practice. However I wanted to highlight the point just in case people do view this as a bug that has simply snuck in under the radar to date.
IIRC, at one point we were supporting a platform that had <iostream> but not <istream> or <ostream>, so I got in the habit of using <iostream> despite its cost. That platform might not matter any more, and I'd support fixing Boost's headers to avoid including iostream.... just not for 1.34.0 :) Cheers, Doug