Opened 12 years ago

Closed 12 years ago

#5272 closed Bugs (fixed)

Inconsistent/unintended inclusion of io.hpp

Reported by: Hans-Andreas Engel <engel@…> Owned by: Matthias Schabel
Milestone: To Be Determined Component: units
Version: Boost 1.45.0 Severity: Problem
Keywords: Cc:

Description

The following includes of io.hpp (and iostream) are probably unintended, given that they are not included in the other files. It would be nice to remove these (and possibly include io.hpp elsewhere).

$ egrep -r 'iostream|io\.hpp' units | egrep -v '\.svn|(si|cgs)/io\.hpp'
units/systems/angle/revolutions.hpp:#include <boost/units/io.hpp>
units/systems/angle/degrees.hpp:#include <boost/units/io.hpp>
units/systems/angle/gradians.hpp:#include <boost/units/io.hpp>
units/systems/si/area.hpp:#include <iostream>
units/systems/si/area.hpp:#include <boost/units/io.hpp>
units/systems/temperature/fahrenheit.hpp:#include <boost/units/io.hpp>

Change History (1)

comment:1 by Matthias Schabel, 12 years ago

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