|
Boost-Commit : |
From: boost_at_[hidden]
Date: 2008-05-19 14:43:04
Author: matthiasschabel
Date: 2008-05-19 14:43:02 EDT (Mon, 19 May 2008)
New Revision: 45552
URL: http://svn.boost.org/trac/boost/changeset/45552
Log:
more missing inlines and #includes
Text files modified:
sandbox/units/boost/units/systems/si/absorbed_dose.hpp | 4 ++--
sandbox/units/boost/units/systems/si/activity.hpp | 4 ++--
sandbox/units/boost/units/systems/si/angular_velocity.hpp | 4 ++--
sandbox/units/boost/units/systems/si/capacitance.hpp | 4 ++--
sandbox/units/boost/units/systems/si/catalytic_activity.hpp | 4 ++--
sandbox/units/boost/units/systems/si/conductance.hpp | 4 ++--
sandbox/units/boost/units/systems/si/dose_equivalent.hpp | 4 ++--
sandbox/units/boost/units/systems/si/dynamic_viscosity.hpp | 4 ++--
sandbox/units/boost/units/systems/si/electric_charge.hpp | 4 ++--
sandbox/units/boost/units/systems/si/electric_potential.hpp | 4 ++--
sandbox/units/boost/units/systems/si/energy.hpp | 4 ++--
sandbox/units/boost/units/systems/si/force.hpp | 4 ++--
sandbox/units/boost/units/systems/si/frequency.hpp | 4 ++--
sandbox/units/boost/units/systems/si/illuminance.hpp | 4 +++-
sandbox/units/boost/units/systems/si/inductance.hpp | 4 ++--
sandbox/units/boost/units/systems/si/luminous_flux.hpp | 4 ++--
sandbox/units/boost/units/systems/si/magnetic_flux.hpp | 4 +++-
sandbox/units/boost/units/systems/si/magnetic_flux_density.hpp | 4 ++--
sandbox/units/boost/units/systems/si/permeability.hpp | 4 ++--
sandbox/units/boost/units/systems/si/permittivity.hpp | 4 ++--
sandbox/units/boost/units/systems/si/power.hpp | 4 ++--
sandbox/units/boost/units/systems/si/pressure.hpp | 4 ++--
sandbox/units/boost/units/systems/si/resistance.hpp | 4 ++--
23 files changed, 48 insertions(+), 44 deletions(-)
Modified: sandbox/units/boost/units/systems/si/absorbed_dose.hpp
==============================================================================
--- sandbox/units/boost/units/systems/si/absorbed_dose.hpp (original)
+++ sandbox/units/boost/units/systems/si/absorbed_dose.hpp 2008-05-19 14:43:02 EDT (Mon, 19 May 2008)
@@ -11,7 +11,7 @@
#ifndef BOOST_UNITS_SI_ABSORBED_DOSE_HPP
#define BOOST_UNITS_SI_ABSORBED_DOSE_HPP
-//#include <iostream>
+//#include <ostream>
//#include <boost/units/io.hpp>
#include <boost/units/systems/si/base.hpp>
@@ -31,7 +31,7 @@
} // namespace si
// Gy and Sv are dimensionally indistinguishable
-//std::ostream& operator<<(std::ostream& os, const boost::units::si::absorbed_dose&)
+//inline std::ostream& operator<<(std::ostream& os, const boost::units::si::absorbed_dose&)
//{
// return(os << "Gy");
//}
Modified: sandbox/units/boost/units/systems/si/activity.hpp
==============================================================================
--- sandbox/units/boost/units/systems/si/activity.hpp (original)
+++ sandbox/units/boost/units/systems/si/activity.hpp 2008-05-19 14:43:02 EDT (Mon, 19 May 2008)
@@ -11,7 +11,7 @@
#ifndef BOOST_UNITS_SI_ACTIVITY_HPP
#define BOOST_UNITS_SI_ACTIVITY_HPP
-//#include <iostream>
+//#include <ostream>
//#include <boost/units/io.hpp>
#include <boost/units/systems/si/base.hpp>
@@ -31,7 +31,7 @@
} // namespace si
// activity is dimensionally indistinguishable from frequency
-//std::ostream& operator<<(std::ostream& os, const boost::units::si::activity&)
+//inline std::ostream& operator<<(std::ostream& os, const boost::units::si::activity&)
//{
// return(os << "Bq");
//}
Modified: sandbox/units/boost/units/systems/si/angular_velocity.hpp
==============================================================================
--- sandbox/units/boost/units/systems/si/angular_velocity.hpp (original)
+++ sandbox/units/boost/units/systems/si/angular_velocity.hpp 2008-05-19 14:43:02 EDT (Mon, 19 May 2008)
@@ -11,7 +11,7 @@
#ifndef BOOST_UNITS_SI_ANGULAR_VELOCITY_HPP
#define BOOST_UNITS_SI_ANGULAR_VELOCITY_HPP
-#include <iostream>
+#include <ostream>
#include <boost/units/io.hpp>
#include <boost/units/systems/si/base.hpp>
@@ -30,7 +30,7 @@
} // namespace si
-std::ostream& operator<<(std::ostream& os, const boost::units::si::angular_velocity&)
+inline std::ostream& operator<<(std::ostream& os, const boost::units::si::angular_velocity&)
{
return(os << "rad/s");
}
Modified: sandbox/units/boost/units/systems/si/capacitance.hpp
==============================================================================
--- sandbox/units/boost/units/systems/si/capacitance.hpp (original)
+++ sandbox/units/boost/units/systems/si/capacitance.hpp 2008-05-19 14:43:02 EDT (Mon, 19 May 2008)
@@ -11,7 +11,7 @@
#ifndef BOOST_UNITS_SI_CAPACITANCE_HPP
#define BOOST_UNITS_SI_CAPACITANCE_HPP
-#include <iostream>
+#include <ostream>
#include <boost/units/io.hpp>
#include <boost/units/derived_dimension.hpp>
@@ -33,7 +33,7 @@
} // namespace si
-std::ostream& operator<<(std::ostream& os, const boost::units::si::capacitance&)
+inline std::ostream& operator<<(std::ostream& os, const boost::units::si::capacitance&)
{
return(os << "F");
}
Modified: sandbox/units/boost/units/systems/si/catalytic_activity.hpp
==============================================================================
--- sandbox/units/boost/units/systems/si/catalytic_activity.hpp (original)
+++ sandbox/units/boost/units/systems/si/catalytic_activity.hpp 2008-05-19 14:43:02 EDT (Mon, 19 May 2008)
@@ -11,7 +11,7 @@
#ifndef BOOST_UNITS_SI_CATALYTIC_ACTIVITY_HPP
#define BOOST_UNITS_SI_CATALYTIC_ACTIVITY_HPP
-#include <iostream>
+#include <ostream>
#include <boost/units/io.hpp>
#include <boost/units/derived_dimension.hpp>
@@ -33,7 +33,7 @@
} // namespace si
-std::ostream& operator<<(std::ostream& os, const boost::units::si::catalytic_activity&)
+inline std::ostream& operator<<(std::ostream& os, const boost::units::si::catalytic_activity&)
{
return(os << "kat");
}
Modified: sandbox/units/boost/units/systems/si/conductance.hpp
==============================================================================
--- sandbox/units/boost/units/systems/si/conductance.hpp (original)
+++ sandbox/units/boost/units/systems/si/conductance.hpp 2008-05-19 14:43:02 EDT (Mon, 19 May 2008)
@@ -11,7 +11,7 @@
#ifndef BOOST_UNITS_SI_CONDUCTANCE_HPP
#define BOOST_UNITS_SI_CONDUCTANCE_HPP
-#include <iostream>
+#include <ostream>
#include <boost/units/io.hpp>
#include <boost/units/derived_dimension.hpp>
@@ -35,7 +35,7 @@
} // namespace si
-std::ostream& operator<<(std::ostream& os, const boost::units::si::conductance&)
+inline std::ostream& operator<<(std::ostream& os, const boost::units::si::conductance&)
{
return(os << "S");
}
Modified: sandbox/units/boost/units/systems/si/dose_equivalent.hpp
==============================================================================
--- sandbox/units/boost/units/systems/si/dose_equivalent.hpp (original)
+++ sandbox/units/boost/units/systems/si/dose_equivalent.hpp 2008-05-19 14:43:02 EDT (Mon, 19 May 2008)
@@ -11,7 +11,7 @@
#ifndef BOOST_UNITS_SI_DOSE_EQUIVALENT_HPP
#define BOOST_UNITS_SI_DOSE_EQUIVALENT_HPP
-//#include <iostream>
+//#include <ostream>
//#include <boost/units/io.hpp>
#include <boost/units/systems/si/base.hpp>
@@ -31,7 +31,7 @@
} // namespace si
// Gy and Sv are dimensionally indistinguishable
-//std::ostream& operator<<(std::ostream& os, const boost::units::si::dose_equivalent&)
+//inline std::ostream& operator<<(std::ostream& os, const boost::units::si::dose_equivalent&)
//{
// return(os << "Sv");
//}
Modified: sandbox/units/boost/units/systems/si/dynamic_viscosity.hpp
==============================================================================
--- sandbox/units/boost/units/systems/si/dynamic_viscosity.hpp (original)
+++ sandbox/units/boost/units/systems/si/dynamic_viscosity.hpp 2008-05-19 14:43:02 EDT (Mon, 19 May 2008)
@@ -11,7 +11,7 @@
#ifndef BOOST_UNITS_SI_DYNAMIC_VISCOSITY_HPP
#define BOOST_UNITS_SI_DYNAMIC_VISCOSITY_HPP
-#include <iostream>
+#include <ostream>
#include <boost/units/io.hpp>
#include <boost/units/systems/si/base.hpp>
@@ -27,7 +27,7 @@
} // namespace si
-std::ostream& operator<<(std::ostream& os, const boost::units::si::dynamic_viscosity&)
+inline std::ostream& operator<<(std::ostream& os, const boost::units::si::dynamic_viscosity&)
{
return(os << "Pa s");
}
Modified: sandbox/units/boost/units/systems/si/electric_charge.hpp
==============================================================================
--- sandbox/units/boost/units/systems/si/electric_charge.hpp (original)
+++ sandbox/units/boost/units/systems/si/electric_charge.hpp 2008-05-19 14:43:02 EDT (Mon, 19 May 2008)
@@ -11,7 +11,7 @@
#ifndef BOOST_UNITS_SI_ELECTRIC_CHARGE_HPP
#define BOOST_UNITS_SI_ELECTRIC_CHARGE_HPP
-#include <iostream>
+#include <ostream>
#include <boost/units/io.hpp>
#include <boost/units/derived_dimension.hpp>
@@ -33,7 +33,7 @@
} // namespace si
-std::ostream& operator<<(std::ostream& os, const boost::units::si::electric_charge&)
+inline std::ostream& operator<<(std::ostream& os, const boost::units::si::electric_charge&)
{
return(os << "C");
}
Modified: sandbox/units/boost/units/systems/si/electric_potential.hpp
==============================================================================
--- sandbox/units/boost/units/systems/si/electric_potential.hpp (original)
+++ sandbox/units/boost/units/systems/si/electric_potential.hpp 2008-05-19 14:43:02 EDT (Mon, 19 May 2008)
@@ -11,7 +11,7 @@
#ifndef BOOST_UNITS_SI_ELECTRIC_POTENTIAL_HPP
#define BOOST_UNITS_SI_ELECTRIC_POTENTIAL_HPP
-#include <iostream>
+#include <ostream>
#include <boost/units/io.hpp>
#include <boost/units/derived_dimension.hpp>
@@ -33,7 +33,7 @@
} // namespace si
-std::ostream& operator<<(std::ostream& os, const boost::units::si::electric_potential&)
+inline std::ostream& operator<<(std::ostream& os, const boost::units::si::electric_potential&)
{
return(os << "V");
}
Modified: sandbox/units/boost/units/systems/si/energy.hpp
==============================================================================
--- sandbox/units/boost/units/systems/si/energy.hpp (original)
+++ sandbox/units/boost/units/systems/si/energy.hpp 2008-05-19 14:43:02 EDT (Mon, 19 May 2008)
@@ -11,7 +11,7 @@
#ifndef BOOST_UNITS_SI_ENERGY_HPP
#define BOOST_UNITS_SI_ENERGY_HPP
-#include <iostream>
+#include <ostream>
#include <boost/units/io.hpp>
#include <boost/units/systems/si/base.hpp>
@@ -30,7 +30,7 @@
} // namespace si
-std::ostream& operator<<(std::ostream& os, const boost::units::si::energy&)
+inline std::ostream& operator<<(std::ostream& os, const boost::units::si::energy&)
{
return(os << "J");
}
Modified: sandbox/units/boost/units/systems/si/force.hpp
==============================================================================
--- sandbox/units/boost/units/systems/si/force.hpp (original)
+++ sandbox/units/boost/units/systems/si/force.hpp 2008-05-19 14:43:02 EDT (Mon, 19 May 2008)
@@ -11,7 +11,7 @@
#ifndef BOOST_UNITS_SI_FORCE_HPP
#define BOOST_UNITS_SI_FORCE_HPP
-#include <iostream>
+#include <ostream>
#include <boost/units/io.hpp>
#include <boost/units/systems/si/base.hpp>
@@ -30,7 +30,7 @@
} // namespace si
-std::ostream& operator<<(std::ostream& os, const boost::units::si::force&)
+inline std::ostream& operator<<(std::ostream& os, const boost::units::si::force&)
{
return(os << "N");
}
Modified: sandbox/units/boost/units/systems/si/frequency.hpp
==============================================================================
--- sandbox/units/boost/units/systems/si/frequency.hpp (original)
+++ sandbox/units/boost/units/systems/si/frequency.hpp 2008-05-19 14:43:02 EDT (Mon, 19 May 2008)
@@ -11,7 +11,7 @@
#ifndef BOOST_UNITS_SI_FREQUENCY_HPP
#define BOOST_UNITS_SI_FREQUENCY_HPP
-#include <iostream>
+#include <ostream>
#include <boost/units/io.hpp>
#include <boost/units/systems/si/base.hpp>
@@ -29,7 +29,7 @@
} // namespace si
-std::ostream& operator<<(std::ostream& os, const boost::units::si::frequency&)
+inline std::ostream& operator<<(std::ostream& os, const boost::units::si::frequency&)
{
return(os << "Hz");
}
Modified: sandbox/units/boost/units/systems/si/illuminance.hpp
==============================================================================
--- sandbox/units/boost/units/systems/si/illuminance.hpp (original)
+++ sandbox/units/boost/units/systems/si/illuminance.hpp 2008-05-19 14:43:02 EDT (Mon, 19 May 2008)
@@ -11,9 +11,11 @@
#ifndef BOOST_UNITS_SI_ILLUMINANCE_HPP
#define BOOST_UNITS_SI_ILLUMINANCE_HPP
+#include <ostream>
+#include <boost/units/io.hpp>
+
#include <boost/units/systems/si/base.hpp>
#include <boost/units/physical_dimensions/illuminance.hpp>
-#include <ostream>
namespace boost {
Modified: sandbox/units/boost/units/systems/si/inductance.hpp
==============================================================================
--- sandbox/units/boost/units/systems/si/inductance.hpp (original)
+++ sandbox/units/boost/units/systems/si/inductance.hpp 2008-05-19 14:43:02 EDT (Mon, 19 May 2008)
@@ -11,7 +11,7 @@
#ifndef BOOST_UNITS_SI_INDUCTANCE_HPP
#define BOOST_UNITS_SI_INDUCTANCE_HPP
-#include <iostream>
+#include <ostream>
#include <boost/units/io.hpp>
#include <boost/units/derived_dimension.hpp>
@@ -33,7 +33,7 @@
} // namespace si
-std::ostream& operator<<(std::ostream& os, const boost::units::si::inductance&)
+inline std::ostream& operator<<(std::ostream& os, const boost::units::si::inductance&)
{
return(os << "H");
}
Modified: sandbox/units/boost/units/systems/si/luminous_flux.hpp
==============================================================================
--- sandbox/units/boost/units/systems/si/luminous_flux.hpp (original)
+++ sandbox/units/boost/units/systems/si/luminous_flux.hpp 2008-05-19 14:43:02 EDT (Mon, 19 May 2008)
@@ -11,7 +11,7 @@
#ifndef BOOST_UNITS_SI_LUMINOUS_FLUX_HPP
#define BOOST_UNITS_SI_LUMINOUS_FLUX_HPP
-#include <iostream>
+#include <ostream>
#include <boost/units/io.hpp>
#include <boost/units/systems/si/base.hpp>
@@ -30,7 +30,7 @@
} // namespace si
-std::ostream& operator<<(std::ostream& os, const boost::units::si::luminous_flux&)
+inline std::ostream& operator<<(std::ostream& os, const boost::units::si::luminous_flux&)
{
return(os << "lm");
}
Modified: sandbox/units/boost/units/systems/si/magnetic_flux.hpp
==============================================================================
--- sandbox/units/boost/units/systems/si/magnetic_flux.hpp (original)
+++ sandbox/units/boost/units/systems/si/magnetic_flux.hpp 2008-05-19 14:43:02 EDT (Mon, 19 May 2008)
@@ -11,9 +11,11 @@
#ifndef BOOST_UNITS_SI_MAGNETIC_FLUX_HPP
#define BOOST_UNITS_SI_MAGNETIC_FLUX_HPP
+#include <ostream>
+#include <boost/units/io.hpp>
+
#include <boost/units/derived_dimension.hpp>
#include <boost/units/systems/si/base.hpp>
-#include <ostream>
namespace boost {
Modified: sandbox/units/boost/units/systems/si/magnetic_flux_density.hpp
==============================================================================
--- sandbox/units/boost/units/systems/si/magnetic_flux_density.hpp (original)
+++ sandbox/units/boost/units/systems/si/magnetic_flux_density.hpp 2008-05-19 14:43:02 EDT (Mon, 19 May 2008)
@@ -11,7 +11,7 @@
#ifndef BOOST_UNITS_SI_MAGNETIC_FLUX_DENSITY_HPP
#define BOOST_UNITS_SI_MAGNETIC_FLUX_DENSITY_HPP
-#include <iostream>
+#include <ostream>
#include <boost/units/io.hpp>
#include <boost/units/derived_dimension.hpp>
@@ -33,7 +33,7 @@
} // namespace si
-std::ostream& operator<<(std::ostream& os, const boost::units::si::magnetic_flux_density&)
+inline std::ostream& operator<<(std::ostream& os, const boost::units::si::magnetic_flux_density&)
{
return(os << "T");
}
Modified: sandbox/units/boost/units/systems/si/permeability.hpp
==============================================================================
--- sandbox/units/boost/units/systems/si/permeability.hpp (original)
+++ sandbox/units/boost/units/systems/si/permeability.hpp 2008-05-19 14:43:02 EDT (Mon, 19 May 2008)
@@ -11,7 +11,7 @@
#ifndef BOOST_UNITS_SI_PERMEABILITY_HPP
#define BOOST_UNITS_SI_PERMEABILITY_HPP
-#include <iostream>
+#include <ostream>
#include <boost/units/io.hpp>
#include <boost/units/derived_dimension.hpp>
@@ -30,7 +30,7 @@
} // namespace si
-std::ostream& operator<<(std::ostream& os, const boost::units::si::permeability&)
+inline std::ostream& operator<<(std::ostream& os, const boost::units::si::permeability&)
{
return(os << "H/m");
}
Modified: sandbox/units/boost/units/systems/si/permittivity.hpp
==============================================================================
--- sandbox/units/boost/units/systems/si/permittivity.hpp (original)
+++ sandbox/units/boost/units/systems/si/permittivity.hpp 2008-05-19 14:43:02 EDT (Mon, 19 May 2008)
@@ -11,7 +11,7 @@
#ifndef BOOST_UNITS_SI_PERMITTIVITY_HPP
#define BOOST_UNITS_SI_PERMITTIVITY_HPP
-#include <iostream>
+#include <ostream>
#include <boost/units/io.hpp>
#include <boost/units/derived_dimension.hpp>
@@ -30,7 +30,7 @@
} // namespace si
-std::ostream& operator<<(std::ostream& os, const boost::units::si::permittivity&)
+inline std::ostream& operator<<(std::ostream& os, const boost::units::si::permittivity&)
{
return(os << "F/m");
}
Modified: sandbox/units/boost/units/systems/si/power.hpp
==============================================================================
--- sandbox/units/boost/units/systems/si/power.hpp (original)
+++ sandbox/units/boost/units/systems/si/power.hpp 2008-05-19 14:43:02 EDT (Mon, 19 May 2008)
@@ -11,7 +11,7 @@
#ifndef BOOST_UNITS_SI_POWER_HPP
#define BOOST_UNITS_SI_POWER_HPP
-#include <iostream>
+#include <ostream>
#include <boost/units/io.hpp>
#include <boost/units/systems/si/base.hpp>
@@ -30,7 +30,7 @@
} // namespace si
-std::ostream& operator<<(std::ostream& os, const boost::units::si::power&)
+inline std::ostream& operator<<(std::ostream& os, const boost::units::si::power&)
{
return(os << "W");
}
Modified: sandbox/units/boost/units/systems/si/pressure.hpp
==============================================================================
--- sandbox/units/boost/units/systems/si/pressure.hpp (original)
+++ sandbox/units/boost/units/systems/si/pressure.hpp 2008-05-19 14:43:02 EDT (Mon, 19 May 2008)
@@ -11,7 +11,7 @@
#ifndef BOOST_UNITS_SI_PRESSURE_HPP
#define BOOST_UNITS_SI_PRESSURE_HPP
-#include <iostream>
+#include <ostream>
#include <boost/units/io.hpp>
#include <boost/units/systems/si/base.hpp>
@@ -45,7 +45,7 @@
} // namespace si
-std::ostream& operator<<(std::ostream& os, const boost::units::si::pressure&)
+inline std::ostream& operator<<(std::ostream& os, const boost::units::si::pressure&)
{
return(os << "Pa");
}
Modified: sandbox/units/boost/units/systems/si/resistance.hpp
==============================================================================
--- sandbox/units/boost/units/systems/si/resistance.hpp (original)
+++ sandbox/units/boost/units/systems/si/resistance.hpp 2008-05-19 14:43:02 EDT (Mon, 19 May 2008)
@@ -11,7 +11,7 @@
#ifndef BOOST_UNITS_SI_RESISTANCE_HPP
#define BOOST_UNITS_SI_RESISTANCE_HPP
-#include <iostream>
+#include <ostream>
#include <boost/units/io.hpp>
#include <boost/units/derived_dimension.hpp>
@@ -33,7 +33,7 @@
} // namespace si
-std::ostream& operator<<(std::ostream& os, const boost::units::si::resistance&)
+inline std::ostream& operator<<(std::ostream& os, const boost::units::si::resistance&)
{
return(os << "ohm");
}
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk