|
Boost-Commit : |
From: steven_at_[hidden]
Date: 2008-05-22 09:51:20
Author: steven_watanabe
Date: 2008-05-22 09:51:17 EDT (Thu, 22 May 2008)
New Revision: 45654
URL: http://svn.boost.org/trac/boost/changeset/45654
Log:
Removed tabs
Text files modified:
sandbox/units/boost/units/base_units/cgs/gram.hpp | 2 +-
sandbox/units/boost/units/base_units/imperial/conversions.hpp | 8 ++++----
sandbox/units/boost/units/base_units/imperial/pint.hpp | 2 +-
sandbox/units/boost/units/base_units/imperial/pound.hpp | 4 ++--
sandbox/units/boost/units/base_units/imperial/yard.hpp | 2 +-
sandbox/units/boost/units/base_units/us/pint.hpp | 2 +-
sandbox/units/boost/units/base_units/us/pound.hpp | 2 +-
sandbox/units/boost/units/base_units/us/yard.hpp | 2 +-
sandbox/units/boost/units/detail/cmath_impl.hpp | 12 ++++++------
sandbox/units/boost/units/physical_dimensions/capacitance.hpp | 4 ++--
sandbox/units/boost/units/physical_dimensions/conductance.hpp | 6 +++---
sandbox/units/boost/units/physical_dimensions/conductivity.hpp | 4 ++--
sandbox/units/boost/units/physical_dimensions/electric_potential.hpp | 4 ++--
sandbox/units/boost/units/physical_dimensions/impedance.hpp | 4 ++--
sandbox/units/boost/units/physical_dimensions/inductance.hpp | 4 ++--
sandbox/units/boost/units/physical_dimensions/magnetic_flux.hpp | 4 ++--
sandbox/units/boost/units/physical_dimensions/magnetic_flux_density.hpp | 2 +-
sandbox/units/boost/units/physical_dimensions/molar_energy.hpp | 4 ++--
sandbox/units/boost/units/physical_dimensions/molar_heat_capacity.hpp | 6 +++---
sandbox/units/boost/units/physical_dimensions/permeability.hpp | 4 ++--
sandbox/units/boost/units/physical_dimensions/permittivity.hpp | 4 ++--
sandbox/units/boost/units/physical_dimensions/reluctance.hpp | 4 ++--
sandbox/units/boost/units/physical_dimensions/resistance.hpp | 6 +++---
sandbox/units/boost/units/physical_dimensions/resistivity.hpp | 4 ++--
sandbox/units/boost/units/physical_dimensions/specific_heat_capacity.hpp | 2 +-
sandbox/units/boost/units/physical_dimensions/thermal_conductivity.hpp | 4 ++--
sandbox/units/boost/units/systems/cgs/base.hpp | 6 +++---
sandbox/units/boost/units/systems/si/codata/typedefs.hpp | 2 +-
sandbox/units/boost/units/systems/si/magnetic_field_intensity.hpp | 2 +-
sandbox/units/libs/units/example/kitchen_sink.cpp | 40 ++++++++++++++++++++--------------------
sandbox/units/libs/units/example/temperature.cpp | 6 +++---
sandbox/units/libs/units/test/fail_quantity_non_unit.cpp | 2 +-
sandbox/units/libs/units/test/test_custom_unit.cpp | 4 ++--
33 files changed, 84 insertions(+), 84 deletions(-)
Modified: sandbox/units/boost/units/base_units/cgs/gram.hpp
==============================================================================
--- sandbox/units/boost/units/base_units/cgs/gram.hpp (original)
+++ sandbox/units/boost/units/base_units/cgs/gram.hpp 2008-05-22 09:51:17 EDT (Thu, 22 May 2008)
@@ -26,7 +26,7 @@
struct gram_base_unit : public base_unit<gram_base_unit, mass_dimension, -8>
{
- static std::string name() { return("gram"); }
+ static std::string name() { return("gram"); }
static std::string symbol() { return("g"); }
};
Modified: sandbox/units/boost/units/base_units/imperial/conversions.hpp
==============================================================================
--- sandbox/units/boost/units/base_units/imperial/conversions.hpp (original)
+++ sandbox/units/boost/units/base_units/imperial/conversions.hpp 2008-05-22 09:51:17 EDT (Thu, 22 May 2008)
@@ -17,28 +17,28 @@
// !defined(BOOST_BOOST_UNITS_BASE_UNITS_IMPERIAL_PINT_TO_GALLON_CONVERSION_DEFINED)
// #define BOOST_BOOST_UNITS_BASE_UNITS_IMPERIAL_PINT_TO_GALLON_CONVERSION_DEFINED
// #include <boost/units/conversion.hpp>
-// BOOST_UNITS_DEFINE_CONVERSION_FACTOR(boost::units::imperial::pint_base_unit,boost::units::imperial::gallon_base_unit, double, 1./8.);
+// BOOST_UNITS_DEFINE_CONVERSION_FACTOR(boost::units::imperial::pint_base_unit,boost::units::imperial::gallon_base_unit, double, 1./8.);
//#endif
//
//#if defined(BOOST_UNITS_BASE_UNITS_IMPERIAL_PINT_HPP_INCLUDED) && defined(BOOST_UNITS_BASE_UNITS_IMPERIAL_QUART_HPP_INCLUDED) &&\
// !defined(BOOST_BOOST_UNITS_BASE_UNITS_IMPERIAL_PINT_TO_QUART_CONVERSION_DEFINED)
// #define BOOST_BOOST_UNITS_BASE_UNITS_IMPERIAL_PINT_TO_QUART_CONVERSION_DEFINED
// #include <boost/units/conversion.hpp>
-// BOOST_UNITS_DEFINE_CONVERSION_FACTOR(boost::units::imperial::pint_base_unit,boost::units::imperial::quart_base_unit, double, 1./2.);
+// BOOST_UNITS_DEFINE_CONVERSION_FACTOR(boost::units::imperial::pint_base_unit,boost::units::imperial::quart_base_unit, double, 1./2.);
//#endif
//
//#if defined(BOOST_UNITS_BASE_UNITS_IMPERIAL_PINT_HPP_INCLUDED) && defined(BOOST_UNITS_BASE_UNITS_IMPERIAL_GILL_HPP_INCLUDED) &&\
// !defined(BOOST_BOOST_UNITS_BASE_UNITS_IMPERIAL_PINT_TO_GILL_CONVERSION_DEFINED)
// #define BOOST_BOOST_UNITS_BASE_UNITS_IMPERIAL_PINT_TO_GILL_CONVERSION_DEFINED
// #include <boost/units/conversion.hpp>
-// BOOST_UNITS_DEFINE_CONVERSION_FACTOR(boost::units::imperial::pint_base_unit,boost::units::imperial::gill_base_unit, double, 4.);
+// BOOST_UNITS_DEFINE_CONVERSION_FACTOR(boost::units::imperial::pint_base_unit,boost::units::imperial::gill_base_unit, double, 4.);
//#endif
//
//#if defined(BOOST_UNITS_BASE_UNITS_IMPERIAL_PINT_HPP_INCLUDED) && defined(BOOST_UNITS_BASE_UNITS_IMPERIAL_FLUID_OUNCE_HPP_INCLUDED) &&\
// !defined(BOOST_BOOST_UNITS_BASE_UNITS_IMPERIAL_PINT_TO_FLUID_OUNCE_CONVERSION_DEFINED)
// #define BOOST_BOOST_UNITS_BASE_UNITS_IMPERIAL_PINT_TO_FLUID_OUNCE_CONVERSION_DEFINED
// #include <boost/units/conversion.hpp>
-// BOOST_UNITS_DEFINE_CONVERSION_FACTOR(boost::units::imperial::pint_base_unit,boost::units::imperial::fluid_ounce_base_unit, double, 20.);
+// BOOST_UNITS_DEFINE_CONVERSION_FACTOR(boost::units::imperial::pint_base_unit,boost::units::imperial::fluid_ounce_base_unit, double, 20.);
//#endif
Modified: sandbox/units/boost/units/base_units/imperial/pint.hpp
==============================================================================
--- sandbox/units/boost/units/base_units/imperial/pint.hpp (original)
+++ sandbox/units/boost/units/base_units/imperial/pint.hpp 2008-05-22 09:51:17 EDT (Thu, 22 May 2008)
@@ -16,7 +16,7 @@
#include <boost/units/systems/si/volume.hpp>
#include <boost/units/conversion.hpp>
-BOOST_UNITS_DEFINE_BASE_UNIT_WITH_CONVERSIONS(imperial, pint, "pint (imp.)", "pt", 4.54609e-3/8., si::volume, -303); // exact conversion
+BOOST_UNITS_DEFINE_BASE_UNIT_WITH_CONVERSIONS(imperial, pint, "pint (imp.)", "pt", 4.54609e-3/8., si::volume, -303); // exact conversion
#if BOOST_UNITS_HAS_BOOST_TYPEOF
Modified: sandbox/units/boost/units/base_units/imperial/pound.hpp
==============================================================================
--- sandbox/units/boost/units/base_units/imperial/pound.hpp (original)
+++ sandbox/units/boost/units/base_units/imperial/pound.hpp 2008-05-22 09:51:17 EDT (Thu, 22 May 2008)
@@ -20,8 +20,8 @@
#include <boost/units/conversion.hpp>
// can't define in terms of kilogram because it is a scaled_base_unit
-//BOOST_UNITS_DEFINE_BASE_UNIT_WITH_CONVERSIONS(imperial, pound, "pound", "lb", 0.45359237, si::kilogram_base_unit, -302); // exact conversion
-BOOST_UNITS_DEFINE_BASE_UNIT_WITH_CONVERSIONS(imperial, pound, "pound", "lb", 453.59237, cgs::gram_base_unit, -302); // exact conversion
+//BOOST_UNITS_DEFINE_BASE_UNIT_WITH_CONVERSIONS(imperial, pound, "pound", "lb", 0.45359237, si::kilogram_base_unit, -302); // exact conversion
+BOOST_UNITS_DEFINE_BASE_UNIT_WITH_CONVERSIONS(imperial, pound, "pound", "lb", 453.59237, cgs::gram_base_unit, -302); // exact conversion
#if BOOST_UNITS_HAS_BOOST_TYPEOF
Modified: sandbox/units/boost/units/base_units/imperial/yard.hpp
==============================================================================
--- sandbox/units/boost/units/base_units/imperial/yard.hpp (original)
+++ sandbox/units/boost/units/base_units/imperial/yard.hpp 2008-05-22 09:51:17 EDT (Thu, 22 May 2008)
@@ -19,7 +19,7 @@
#include <boost/units/base_units/si/meter.hpp>
#include <boost/units/conversion.hpp>
-BOOST_UNITS_DEFINE_BASE_UNIT_WITH_CONVERSIONS(imperial, yard, "yard", "yd", 0.9144, si::meter_base_unit, -301); // exact conversion
+BOOST_UNITS_DEFINE_BASE_UNIT_WITH_CONVERSIONS(imperial, yard, "yard", "yd", 0.9144, si::meter_base_unit, -301); // exact conversion
#if BOOST_UNITS_HAS_BOOST_TYPEOF
Modified: sandbox/units/boost/units/base_units/us/pint.hpp
==============================================================================
--- sandbox/units/boost/units/base_units/us/pint.hpp (original)
+++ sandbox/units/boost/units/base_units/us/pint.hpp 2008-05-22 09:51:17 EDT (Thu, 22 May 2008)
@@ -15,7 +15,7 @@
#include <boost/units/systems/si/volume.hpp>
-BOOST_UNITS_DEFINE_BASE_UNIT_WITH_CONVERSIONS(us, pint, "pint (U.S.)", "pt", 0.4731765e-3, si::volume, -503);
+BOOST_UNITS_DEFINE_BASE_UNIT_WITH_CONVERSIONS(us, pint, "pint (U.S.)", "pt", 0.4731765e-3, si::volume, -503);
#if BOOST_UNITS_HAS_BOOST_TYPEOF
Modified: sandbox/units/boost/units/base_units/us/pound.hpp
==============================================================================
--- sandbox/units/boost/units/base_units/us/pound.hpp (original)
+++ sandbox/units/boost/units/base_units/us/pound.hpp 2008-05-22 09:51:17 EDT (Thu, 22 May 2008)
@@ -19,7 +19,7 @@
#include <boost/units/base_units/cgs/gram.hpp>
#include <boost/units/conversion.hpp>
-BOOST_UNITS_DEFINE_BASE_UNIT_WITH_CONVERSIONS(us, pound, "pound", "lb", 453.59237, cgs::gram_base_unit, -502); // exact conversion
+BOOST_UNITS_DEFINE_BASE_UNIT_WITH_CONVERSIONS(us, pound, "pound", "lb", 453.59237, cgs::gram_base_unit, -502); // exact conversion
#if BOOST_UNITS_HAS_BOOST_TYPEOF
Modified: sandbox/units/boost/units/base_units/us/yard.hpp
==============================================================================
--- sandbox/units/boost/units/base_units/us/yard.hpp (original)
+++ sandbox/units/boost/units/base_units/us/yard.hpp 2008-05-22 09:51:17 EDT (Thu, 22 May 2008)
@@ -19,7 +19,7 @@
#include <boost/units/base_units/si/meter.hpp>
#include <boost/units/conversion.hpp>
-BOOST_UNITS_DEFINE_BASE_UNIT_WITH_CONVERSIONS(us, yard, "yard", "yd", 0.9144, si::meter_base_unit, -501); // exact conversion
+BOOST_UNITS_DEFINE_BASE_UNIT_WITH_CONVERSIONS(us, yard, "yard", "yd", 0.9144, si::meter_base_unit, -501); // exact conversion
#if BOOST_UNITS_HAS_BOOST_TYPEOF
Modified: sandbox/units/boost/units/detail/cmath_impl.hpp
==============================================================================
--- sandbox/units/boost/units/detail/cmath_impl.hpp (original)
+++ sandbox/units/boost/units/detail/cmath_impl.hpp 2008-05-22 09:51:17 EDT (Thu, 22 May 2008)
@@ -14,13 +14,13 @@
#include <boost/version.hpp>
#if (BOOST_VERSION <= 103500)
- #include <boost/units/detail/cmath_gnu_impl_boost_1_35.hpp>
- #include <boost/units/detail/cmath_mwcw_impl_boost_1_35.hpp>
- #include <boost/units/detail/cmath_msvc_impl_boost_1_35.hpp>
+ #include <boost/units/detail/cmath_gnu_impl_boost_1_35.hpp>
+ #include <boost/units/detail/cmath_mwcw_impl_boost_1_35.hpp>
+ #include <boost/units/detail/cmath_msvc_impl_boost_1_35.hpp>
#else
- #include <boost/units/detail/cmath_gnu_impl.hpp>
- #include <boost/units/detail/cmath_mwcw_impl.hpp>
- #include <boost/units/detail/cmath_msvc_impl.hpp>
+ #include <boost/units/detail/cmath_gnu_impl.hpp>
+ #include <boost/units/detail/cmath_mwcw_impl.hpp>
+ #include <boost/units/detail/cmath_msvc_impl.hpp>
#endif // (BOOST_VERSION <= 103500)
#endif // BOOST_UNITS_CMATH_IMPL_HPP
Modified: sandbox/units/boost/units/physical_dimensions/capacitance.hpp
==============================================================================
--- sandbox/units/boost/units/physical_dimensions/capacitance.hpp (original)
+++ sandbox/units/boost/units/physical_dimensions/capacitance.hpp 2008-05-22 09:51:17 EDT (Thu, 22 May 2008)
@@ -24,8 +24,8 @@
/// derived dimension for capacitance : L^-2 M^-1 T^4 I^2
typedef derived_dimension<length_base_dimension,-2,
mass_base_dimension,-1,
- time_base_dimension,4,
- current_base_dimension,2>::type capacitance_type;
+ time_base_dimension,4,
+ current_base_dimension,2>::type capacitance_type;
} // namespace units
Modified: sandbox/units/boost/units/physical_dimensions/conductance.hpp
==============================================================================
--- sandbox/units/boost/units/physical_dimensions/conductance.hpp (original)
+++ sandbox/units/boost/units/physical_dimensions/conductance.hpp 2008-05-22 09:51:17 EDT (Thu, 22 May 2008)
@@ -24,9 +24,9 @@
/// derived dimension for conductance : L^-2 M^-1 T^3 I^2
typedef derived_dimension<length_base_dimension,-2,
mass_base_dimension,-1,
- time_base_dimension,3,
- current_base_dimension,2>::type conductance_type;
-
+ time_base_dimension,3,
+ current_base_dimension,2>::type conductance_type;
+
} // namespace units
} // namespace boost
Modified: sandbox/units/boost/units/physical_dimensions/conductivity.hpp
==============================================================================
--- sandbox/units/boost/units/physical_dimensions/conductivity.hpp (original)
+++ sandbox/units/boost/units/physical_dimensions/conductivity.hpp 2008-05-22 09:51:17 EDT (Thu, 22 May 2008)
@@ -24,8 +24,8 @@
/// derived dimension for conductivity : L^-3 M^-1 T^3 I^2
typedef derived_dimension<length_base_dimension,-3,
mass_base_dimension,-1,
- time_base_dimension,3,
- current_base_dimension,2>::type conductivity_type;
+ time_base_dimension,3,
+ current_base_dimension,2>::type conductivity_type;
} // namespace units
Modified: sandbox/units/boost/units/physical_dimensions/electric_potential.hpp
==============================================================================
--- sandbox/units/boost/units/physical_dimensions/electric_potential.hpp (original)
+++ sandbox/units/boost/units/physical_dimensions/electric_potential.hpp 2008-05-22 09:51:17 EDT (Thu, 22 May 2008)
@@ -24,8 +24,8 @@
/// derived dimension for electric potential : L^2 M T^-3 I^-1
typedef derived_dimension<length_base_dimension,2,
mass_base_dimension,1,
- time_base_dimension,-3,
- current_base_dimension,-1>::type electric_potential_type;
+ time_base_dimension,-3,
+ current_base_dimension,-1>::type electric_potential_type;
} // namespace units
Modified: sandbox/units/boost/units/physical_dimensions/impedance.hpp
==============================================================================
--- sandbox/units/boost/units/physical_dimensions/impedance.hpp (original)
+++ sandbox/units/boost/units/physical_dimensions/impedance.hpp 2008-05-22 09:51:17 EDT (Thu, 22 May 2008)
@@ -24,8 +24,8 @@
/// derived dimension for impedance : L^2 M T^-3 I^-2
typedef derived_dimension<length_base_dimension,2,
mass_base_dimension,1,
- time_base_dimension,-3,
- current_base_dimension,-2>::type impedance_type;
+ time_base_dimension,-3,
+ current_base_dimension,-2>::type impedance_type;
} // namespace units
Modified: sandbox/units/boost/units/physical_dimensions/inductance.hpp
==============================================================================
--- sandbox/units/boost/units/physical_dimensions/inductance.hpp (original)
+++ sandbox/units/boost/units/physical_dimensions/inductance.hpp 2008-05-22 09:51:17 EDT (Thu, 22 May 2008)
@@ -24,8 +24,8 @@
/// derived dimension for inductance : L^2 M T^-2 I^-2
typedef derived_dimension<length_base_dimension,2,
mass_base_dimension,1,
- time_base_dimension,-2,
- current_base_dimension,-2>::type inductance_type;
+ time_base_dimension,-2,
+ current_base_dimension,-2>::type inductance_type;
} // namespace units
Modified: sandbox/units/boost/units/physical_dimensions/magnetic_flux.hpp
==============================================================================
--- sandbox/units/boost/units/physical_dimensions/magnetic_flux.hpp (original)
+++ sandbox/units/boost/units/physical_dimensions/magnetic_flux.hpp 2008-05-22 09:51:17 EDT (Thu, 22 May 2008)
@@ -24,8 +24,8 @@
/// derived dimension for magnetic flux : L^2 M T^-2 I^-1
typedef derived_dimension<length_base_dimension,2,
mass_base_dimension,1,
- time_base_dimension,-2,
- current_base_dimension,-1>::type magnetic_flux_type;
+ time_base_dimension,-2,
+ current_base_dimension,-1>::type magnetic_flux_type;
} // namespace units
Modified: sandbox/units/boost/units/physical_dimensions/magnetic_flux_density.hpp
==============================================================================
--- sandbox/units/boost/units/physical_dimensions/magnetic_flux_density.hpp (original)
+++ sandbox/units/boost/units/physical_dimensions/magnetic_flux_density.hpp 2008-05-22 09:51:17 EDT (Thu, 22 May 2008)
@@ -23,7 +23,7 @@
/// derived dimension for magnetic flux density : M T^-2 I^-1
typedef derived_dimension<mass_base_dimension,1,
time_base_dimension,-2,
- current_base_dimension,-1>::type magnetic_flux_density_type;
+ current_base_dimension,-1>::type magnetic_flux_density_type;
} // namespace units
Modified: sandbox/units/boost/units/physical_dimensions/molar_energy.hpp
==============================================================================
--- sandbox/units/boost/units/physical_dimensions/molar_energy.hpp (original)
+++ sandbox/units/boost/units/physical_dimensions/molar_energy.hpp 2008-05-22 09:51:17 EDT (Thu, 22 May 2008)
@@ -24,8 +24,8 @@
/// derived dimension for molar energy : L^2 M T^-2 N^-1
typedef derived_dimension<length_base_dimension,2,
mass_base_dimension,1,
- time_base_dimension,-2,
- amount_base_dimension,-1>::type molar_energy_dimension;
+ time_base_dimension,-2,
+ amount_base_dimension,-1>::type molar_energy_dimension;
} // namespace units
Modified: sandbox/units/boost/units/physical_dimensions/molar_heat_capacity.hpp
==============================================================================
--- sandbox/units/boost/units/physical_dimensions/molar_heat_capacity.hpp (original)
+++ sandbox/units/boost/units/physical_dimensions/molar_heat_capacity.hpp 2008-05-22 09:51:17 EDT (Thu, 22 May 2008)
@@ -25,9 +25,9 @@
/// derived dimension for molar heat capacity : L^2 M T^-2 Theta^-1 N^-1
typedef derived_dimension<length_base_dimension,2,
mass_base_dimension,1,
- time_base_dimension,-2,
- temperature_base_dimension,-1,
- amount_base_dimension,-1>::type molar_heat_capacity_dimension;
+ time_base_dimension,-2,
+ temperature_base_dimension,-1,
+ amount_base_dimension,-1>::type molar_heat_capacity_dimension;
} // namespace units
Modified: sandbox/units/boost/units/physical_dimensions/permeability.hpp
==============================================================================
--- sandbox/units/boost/units/physical_dimensions/permeability.hpp (original)
+++ sandbox/units/boost/units/physical_dimensions/permeability.hpp 2008-05-22 09:51:17 EDT (Thu, 22 May 2008)
@@ -24,8 +24,8 @@
/// derived dimension for permeability : L M T^-2 I^-2
typedef derived_dimension<length_base_dimension,1,
mass_base_dimension,1,
- time_base_dimension,-2,
- current_base_dimension,-2>::type permeability_type;
+ time_base_dimension,-2,
+ current_base_dimension,-2>::type permeability_type;
} // namespace units
Modified: sandbox/units/boost/units/physical_dimensions/permittivity.hpp
==============================================================================
--- sandbox/units/boost/units/physical_dimensions/permittivity.hpp (original)
+++ sandbox/units/boost/units/physical_dimensions/permittivity.hpp 2008-05-22 09:51:17 EDT (Thu, 22 May 2008)
@@ -24,8 +24,8 @@
/// derived dimension for permittivity : L^-3 M^-1 T^4 I^2
typedef derived_dimension<length_base_dimension,-3,
mass_base_dimension,-1,
- time_base_dimension,4,
- current_base_dimension,2>::type permittivity_type;
+ time_base_dimension,4,
+ current_base_dimension,2>::type permittivity_type;
} // namespace units
Modified: sandbox/units/boost/units/physical_dimensions/reluctance.hpp
==============================================================================
--- sandbox/units/boost/units/physical_dimensions/reluctance.hpp (original)
+++ sandbox/units/boost/units/physical_dimensions/reluctance.hpp 2008-05-22 09:51:17 EDT (Thu, 22 May 2008)
@@ -24,8 +24,8 @@
/// derived dimension for reluctance : L^-2 M^-1 T^2 I^2
typedef derived_dimension<length_base_dimension,-2,
mass_base_dimension,-1,
- time_base_dimension,2,
- current_base_dimension,2>::type reluctance_type;
+ time_base_dimension,2,
+ current_base_dimension,2>::type reluctance_type;
} // namespace units
Modified: sandbox/units/boost/units/physical_dimensions/resistance.hpp
==============================================================================
--- sandbox/units/boost/units/physical_dimensions/resistance.hpp (original)
+++ sandbox/units/boost/units/physical_dimensions/resistance.hpp 2008-05-22 09:51:17 EDT (Thu, 22 May 2008)
@@ -23,9 +23,9 @@
/// derived dimension for resistance : L^2 M T^-3 I^-2
typedef derived_dimension<length_base_dimension,2,
- mass_base_dimension,1,
- time_base_dimension,-3,
- current_base_dimension,-2>::type resistance_type;
+ mass_base_dimension,1,
+ time_base_dimension,-3,
+ current_base_dimension,-2>::type resistance_type;
} // namespace units
Modified: sandbox/units/boost/units/physical_dimensions/resistivity.hpp
==============================================================================
--- sandbox/units/boost/units/physical_dimensions/resistivity.hpp (original)
+++ sandbox/units/boost/units/physical_dimensions/resistivity.hpp 2008-05-22 09:51:17 EDT (Thu, 22 May 2008)
@@ -24,8 +24,8 @@
/// derived dimension for resistivity : L^3 M T^-3 I^-2
typedef derived_dimension<length_base_dimension,3,
mass_base_dimension,1,
- time_base_dimension,-3,
- current_base_dimension,-2>::type resistivity_type;
+ time_base_dimension,-3,
+ current_base_dimension,-2>::type resistivity_type;
} // namespace units
Modified: sandbox/units/boost/units/physical_dimensions/specific_heat_capacity.hpp
==============================================================================
--- sandbox/units/boost/units/physical_dimensions/specific_heat_capacity.hpp (original)
+++ sandbox/units/boost/units/physical_dimensions/specific_heat_capacity.hpp 2008-05-22 09:51:17 EDT (Thu, 22 May 2008)
@@ -23,7 +23,7 @@
/// derived dimension for specific heat capacity : L^2 T^-2 Theta^-1
typedef derived_dimension<length_base_dimension,2,
time_base_dimension,-2,
- temperature_base_dimension,-1>::type specific_heat_capacity_dimension;
+ temperature_base_dimension,-1>::type specific_heat_capacity_dimension;
} // namespace units
Modified: sandbox/units/boost/units/physical_dimensions/thermal_conductivity.hpp
==============================================================================
--- sandbox/units/boost/units/physical_dimensions/thermal_conductivity.hpp (original)
+++ sandbox/units/boost/units/physical_dimensions/thermal_conductivity.hpp 2008-05-22 09:51:17 EDT (Thu, 22 May 2008)
@@ -23,9 +23,9 @@
/// derived dimension for thermal_conductivity : L^1 M^1 T^-3 Theta^-1
typedef derived_dimension<length_base_dimension,1,
- mass_base_dimension,1,
+ mass_base_dimension,1,
time_base_dimension,-3,
- temperature_base_dimension,-1>::type thermal_conductivity_dimension;
+ temperature_base_dimension,-1>::type thermal_conductivity_dimension;
} // namespace units
Modified: sandbox/units/boost/units/systems/cgs/base.hpp
==============================================================================
--- sandbox/units/boost/units/systems/cgs/base.hpp (original)
+++ sandbox/units/boost/units/systems/cgs/base.hpp 2008-05-22 09:51:17 EDT (Thu, 22 May 2008)
@@ -31,9 +31,9 @@
/// placeholder class defining cgs unit system
typedef make_system<centimeter_base_unit,
- gram_base_unit,
- boost::units::si::second_base_unit,
- biot_base_unit>::type system;
+ gram_base_unit,
+ boost::units::si::second_base_unit,
+ biot_base_unit>::type system;
/// various unit typedefs for convenience
typedef unit<dimensionless_type,system> dimensionless;
Modified: sandbox/units/boost/units/systems/si/codata/typedefs.hpp
==============================================================================
--- sandbox/units/boost/units/systems/si/codata/typedefs.hpp (original)
+++ sandbox/units/boost/units/systems/si/codata/typedefs.hpp 2008-05-22 09:51:17 EDT (Thu, 22 May 2008)
@@ -62,7 +62,7 @@
typedef divide_typeof_helper<
divide_typeof_helper<divide_typeof_helper<volume,mass>::type,time>::type,
time
- >::type volume_over_mass_time_squared;
+ >::type volume_over_mass_time_squared;
typedef multiply_typeof_helper<energy,time>::type energy_time;
typedef divide_typeof_helper<electric_charge,amount>::type electric_charge_over_amount;
Modified: sandbox/units/boost/units/systems/si/magnetic_field_intensity.hpp
==============================================================================
--- sandbox/units/boost/units/systems/si/magnetic_field_intensity.hpp (original)
+++ sandbox/units/boost/units/systems/si/magnetic_field_intensity.hpp 2008-05-22 09:51:17 EDT (Thu, 22 May 2008)
@@ -21,7 +21,7 @@
namespace si {
typedef unit<magnetic_field_intensity_type,si::system> magnetic_field_intensity;
-
+
} // namespace si
} // namespace units
Modified: sandbox/units/libs/units/example/kitchen_sink.cpp
==============================================================================
--- sandbox/units/libs/units/example/kitchen_sink.cpp (original)
+++ sandbox/units/libs/units/example/kitchen_sink.cpp 2008-05-22 09:51:17 EDT (Thu, 22 May 2008)
@@ -176,7 +176,7 @@
using namespace boost::units::si;
#if BOOST_UNITS_HAS_TYPEOF
- using namespace constants::codata;
+ using namespace constants::codata;
return (P*V/(R*T));
#else
return P*V/(8.314472*(joules/(kelvin*mole))*T);
@@ -404,25 +404,25 @@
<< "w/(u*x)^(1/2) = " << w/pow< static_rational<1,2> >(u*x)
<< std::endl << std::endl;
}
-
- std::cout << quantity<capacitance>(1.0*farad) << std::endl
- << quantity<catalytic_activity>(1.0*katal) << std::endl
- << quantity<conductance>(1.0*siemen) << std::endl
- << quantity<electric_charge>(1.0*coulomb) << std::endl
- << quantity<electric_potential>(1.0*volt) << std::endl
- << quantity<energy>(1.0*joule) << std::endl
- << quantity<force>(1.0*newton) << std::endl
- << quantity<frequency>(1.0*hertz) << std::endl
- << quantity<illuminance>(1.0*lux) << std::endl
- << quantity<inductance>(1.0*henry) << std::endl
- << quantity<luminous_flux>(1.0*lumen) << std::endl
- << quantity<magnetic_flux>(1.0*weber) << std::endl
- << quantity<magnetic_flux_density>(1.0*tesla) << std::endl
- << quantity<power>(1.0*watt) << std::endl
- << quantity<pressure>(1.0*pascals) << std::endl
- << quantity<resistance>(1.0*ohm) << std::endl
- << quantity<torque>(1.0*newton_meters) << std::endl
- << std::endl;
+
+ std::cout << quantity<capacitance>(1.0*farad) << std::endl
+ << quantity<catalytic_activity>(1.0*katal) << std::endl
+ << quantity<conductance>(1.0*siemen) << std::endl
+ << quantity<electric_charge>(1.0*coulomb) << std::endl
+ << quantity<electric_potential>(1.0*volt) << std::endl
+ << quantity<energy>(1.0*joule) << std::endl
+ << quantity<force>(1.0*newton) << std::endl
+ << quantity<frequency>(1.0*hertz) << std::endl
+ << quantity<illuminance>(1.0*lux) << std::endl
+ << quantity<inductance>(1.0*henry) << std::endl
+ << quantity<luminous_flux>(1.0*lumen) << std::endl
+ << quantity<magnetic_flux>(1.0*weber) << std::endl
+ << quantity<magnetic_flux_density>(1.0*tesla) << std::endl
+ << quantity<power>(1.0*watt) << std::endl
+ << quantity<pressure>(1.0*pascals) << std::endl
+ << quantity<resistance>(1.0*ohm) << std::endl
+ << quantity<torque>(1.0*newton_meters) << std::endl
+ << std::endl;
sstream2 << "S1 : 2" << std::endl;
sstream2 << "X1 : 2" << std::endl;
Modified: sandbox/units/libs/units/example/temperature.cpp
==============================================================================
--- sandbox/units/libs/units/example/temperature.cpp (original)
+++ sandbox/units/libs/units/example/temperature.cpp 2008-05-22 09:51:17 EDT (Thu, 22 May 2008)
@@ -61,8 +61,8 @@
//typedef unit<temperature_dimension,system> temperature;
// simpler method for single-unit systems
-typedef temperature::fahrenheit_base_unit::unit_type temperature;
-typedef get_system<temperature>::type system;
+typedef temperature::fahrenheit_base_unit::unit_type temperature;
+typedef get_system<temperature>::type system;
BOOST_UNITS_STATIC_CONSTANT(degree,temperature);
BOOST_UNITS_STATIC_CONSTANT(degrees,temperature);
@@ -87,7 +87,7 @@
template<>
struct is_implicitly_convertible<
fahrenheit::temperature,
- si::temperature > : public mpl::true_ { };
+ si::temperature > : public mpl::true_ { };
template<>
struct is_implicitly_convertible<
Modified: sandbox/units/libs/units/test/fail_quantity_non_unit.cpp
==============================================================================
--- sandbox/units/libs/units/test/fail_quantity_non_unit.cpp (original)
+++ sandbox/units/libs/units/test/fail_quantity_non_unit.cpp 2008-05-22 09:51:17 EDT (Thu, 22 May 2008)
@@ -31,7 +31,7 @@
{
bu::quantity<bu::meter_base_unit> q;
-
+
return 0;
}
Modified: sandbox/units/libs/units/test/test_custom_unit.cpp
==============================================================================
--- sandbox/units/libs/units/test/test_custom_unit.cpp (original)
+++ sandbox/units/libs/units/test/test_custom_unit.cpp 2008-05-22 09:51:17 EDT (Thu, 22 May 2008)
@@ -43,7 +43,7 @@
operator*(const simple_unit<Mass1, Length1, Time1>&,
const simple_unit<Mass2, Length2, Time2>&)
{
- return simple_unit<Mass1 + Mass2, Length1 + Length2, Time1 + Time2>();
+ return simple_unit<Mass1 + Mass2, Length1 + Length2, Time1 + Time2>();
}
template<int Mass1, int Length1, int Time1, int Mass2, int Length2, int Time2>
@@ -51,7 +51,7 @@
operator/(const simple_unit<Mass1, Length1, Time1>&,
const simple_unit<Mass2, Length2, Time2>&)
{
- return simple_unit<Mass1 - Mass2, Length1 - Length2, Time1 - Time2>();
+ return simple_unit<Mass1 - Mass2, Length1 - Length2, Time1 - Time2>();
}
int test_main(int,char *[])
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