Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r68183 - in trunk: boost boost/chrono boost/chrono/typeof/boost boost/ratio boost/ratio/mpl boost/system libs/ratio/example libs/ratio/test libs/ratio/test/ratio_arithmetic libs/ratio/test/ratio_comparison libs/ratio/test/ratio_extensions libs/ratio/test/ratio_ratio
From: vicente.botet_at_[hidden]
Date: 2011-01-16 07:07:59


Author: viboes
Date: 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
New Revision: 68183
URL: http://svn.boost.org/trac/boost/changeset/68183

Log:
Boost.Ratio/Chrono: Added boost/ratio/include.hpp file and make use of boost/ratio/ratio.hpp when all the files are not needed

Added:
   trunk/boost/ratio/include.hpp (contents, props changed)
Text files modified:
   trunk/boost/chrono/duration.hpp | 2 +-
   trunk/boost/chrono/typeof/boost/ratio.hpp | 2 +-
   trunk/boost/ratio.hpp | 2 +-
   trunk/boost/ratio/mpl/abs.hpp | 2 +-
   trunk/boost/ratio/mpl/divides.hpp | 2 +-
   trunk/boost/ratio/mpl/equal_to.hpp | 2 +-
   trunk/boost/ratio/mpl/gcd.hpp | 2 +-
   trunk/boost/ratio/mpl/greater.hpp | 2 +-
   trunk/boost/ratio/mpl/greater_equal.hpp | 2 +-
   trunk/boost/ratio/mpl/lcm.hpp | 2 +-
   trunk/boost/ratio/mpl/less.hpp | 2 +-
   trunk/boost/ratio/mpl/less_equal.hpp | 2 +-
   trunk/boost/ratio/mpl/minus.hpp | 2 +-
   trunk/boost/ratio/mpl/negate.hpp | 2 +-
   trunk/boost/ratio/mpl/not_equal_to.hpp | 2 +-
   trunk/boost/ratio/mpl/numeric_cast.hpp | 2 +-
   trunk/boost/ratio/mpl/plus.hpp | 2 +-
   trunk/boost/ratio/mpl/sign.hpp | 2 +-
   trunk/boost/ratio/mpl/times.hpp | 2 +-
   trunk/boost/ratio/ratio_io.hpp | 2 +-
   trunk/boost/ratio/ratio_static_string.hpp | 2 +-
   trunk/boost/system/api_config.hpp | 21 ++++++++++++++-------
   trunk/boost/system/config.hpp | 22 ++++++++++++++++++----
   trunk/boost/system/cygwin_error.hpp | 8 ++++----
   trunk/libs/ratio/example/duration.hpp | 2 +-
   trunk/libs/ratio/example/si_physics.cpp | 2 +-
   trunk/libs/ratio/test/ratio_arithmetic/ratio_add_2_fail.cpp | 2 +-
   trunk/libs/ratio/test/ratio_arithmetic/ratio_add_3_fail.cpp | 2 +-
   trunk/libs/ratio/test/ratio_arithmetic/ratio_add_fail.cpp | 2 +-
   trunk/libs/ratio/test/ratio_arithmetic/ratio_add_pass.cpp | 2 +-
   trunk/libs/ratio/test/ratio_arithmetic/ratio_divide_fail.cpp | 2 +-
   trunk/libs/ratio/test/ratio_arithmetic/ratio_divide_pass.cpp | 2 +-
   trunk/libs/ratio/test/ratio_arithmetic/ratio_multiply_fail.cpp | 2 +-
   trunk/libs/ratio/test/ratio_arithmetic/ratio_multiply_pass.cpp | 2 +-
   trunk/libs/ratio/test/ratio_arithmetic/ratio_subtract_fail.cpp | 2 +-
   trunk/libs/ratio/test/ratio_arithmetic/ratio_subtract_pass.cpp | 2 +-
   trunk/libs/ratio/test/ratio_comparison/ratio_equal_pass.cpp | 2 +-
   trunk/libs/ratio/test/ratio_comparison/ratio_greater_equal_pass.cpp | 2 +-
   trunk/libs/ratio/test/ratio_comparison/ratio_greater_pass.cpp | 2 +-
   trunk/libs/ratio/test/ratio_comparison/ratio_less_equal_pass.cpp | 2 +-
   trunk/libs/ratio/test/ratio_comparison/ratio_less_pass.cpp | 2 +-
   trunk/libs/ratio/test/ratio_comparison/ratio_not_equal_pass.cpp | 2 +-
   trunk/libs/ratio/test/ratio_extensions/ratio_ext_pass.cpp | 2 +-
   trunk/libs/ratio/test/ratio_ratio/ratio1_fail.cpp | 2 +-
   trunk/libs/ratio/test/ratio_ratio/ratio2_fail.cpp | 2 +-
   trunk/libs/ratio/test/ratio_ratio/ratio3_fail.cpp | 2 +-
   trunk/libs/ratio/test/ratio_ratio/ratio4_fail.cpp | 2 +-
   trunk/libs/ratio/test/ratio_ratio/ratio_pass.cpp | 2 +-
   trunk/libs/ratio/test/ratio_test.cpp | 2 +-
   trunk/libs/ratio/test/typedefs_pass.cpp | 2 +-
   50 files changed, 83 insertions(+), 62 deletions(-)

Modified: trunk/boost/chrono/duration.hpp
==============================================================================
--- trunk/boost/chrono/duration.hpp (original)
+++ trunk/boost/chrono/duration.hpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -38,7 +38,7 @@
 
 
 #include <boost/mpl/logical.hpp>
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 #include <boost/type_traits/common_type.hpp>
 #include <boost/type_traits/is_convertible.hpp>
 #include <boost/type_traits/is_floating_point.hpp>

Modified: trunk/boost/chrono/typeof/boost/ratio.hpp
==============================================================================
--- trunk/boost/chrono/typeof/boost/ratio.hpp (original)
+++ trunk/boost/chrono/typeof/boost/ratio.hpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -14,7 +14,7 @@
 #ifndef BOOST_CHRONO_TYPEOF_RATIO_HPP
 #define BOOST_CHRONO_TYPEOF_RATIO_HPP
 
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 #define BOOST_TYPEOF_SILENT
 
 #include <boost/typeof/typeof.hpp>

Modified: trunk/boost/ratio.hpp
==============================================================================
--- trunk/boost/ratio.hpp (original)
+++ trunk/boost/ratio.hpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -9,6 +9,6 @@
 #ifndef BOOST_RATIO_HPP
 #define BOOST_RATIO_HPP
 
-#include <boost/ratio/ratio.hpp>
+#include <boost/ratio/include.hpp>
 
 #endif // BOOST_RATIO_HPP

Added: trunk/boost/ratio/include.hpp
==============================================================================
--- (empty file)
+++ trunk/boost/ratio/include.hpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -0,0 +1,15 @@
+// include.hpp ---------------------------------------------------------------//
+
+// Copyright 2011 Vicente J. Botet Escriba
+
+// Distributed under the Boost Software License, Version 1.0.
+// See http://www.boost.org/LICENSE_1_0.txt
+
+#ifndef BOOST_RATIO_INCLUDE_HPP
+#define BOOST_RATIO_INCLUDE_HPP
+
+#include <boost/ratio/ratio.hpp>
+#include <boost/ratio/ratio_io.hpp>
+#include <boost/ratio/mpl/rational_constant.hpp>
+
+#endif // BOOST_RATIO_INCLUDE_HPP

Modified: trunk/boost/ratio/mpl/abs.hpp
==============================================================================
--- trunk/boost/ratio/mpl/abs.hpp (original)
+++ trunk/boost/ratio/mpl/abs.hpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -9,7 +9,7 @@
 #ifndef BOOST_RATIO_MPL_ABS_HPP
 #define BOOST_RATIO_MPL_ABS_HPP
 
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 #include <boost/ratio/mpl/numeric_cast.hpp>
 #include <boost/ratio/detail/mpl/abs.hpp>
 

Modified: trunk/boost/ratio/mpl/divides.hpp
==============================================================================
--- trunk/boost/ratio/mpl/divides.hpp (original)
+++ trunk/boost/ratio/mpl/divides.hpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -9,7 +9,7 @@
 #ifndef BOOST_RATIO_MPL_DIVIDES_HPP
 #define BOOST_RATIO_MPL_DIVIDES_HPP
 
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 #include <boost/ratio/mpl/numeric_cast.hpp>
 #include <boost/mpl/divides.hpp>
 

Modified: trunk/boost/ratio/mpl/equal_to.hpp
==============================================================================
--- trunk/boost/ratio/mpl/equal_to.hpp (original)
+++ trunk/boost/ratio/mpl/equal_to.hpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -9,7 +9,7 @@
 #ifndef BOOST_RATIO_MPL_EQUAL_TO_HPP
 #define BOOST_RATIO_MPL_EQUAL_TO_HPP
 
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 #include <boost/ratio/mpl/numeric_cast.hpp>
 #include <boost/mpl/equal_to.hpp>
 

Modified: trunk/boost/ratio/mpl/gcd.hpp
==============================================================================
--- trunk/boost/ratio/mpl/gcd.hpp (original)
+++ trunk/boost/ratio/mpl/gcd.hpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -9,7 +9,7 @@
 #ifndef BOOST_RATIO_MPL_GCD_HPP
 #define BOOST_RATIO_MPL_GCD_HPP
 
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 #include <boost/ratio/mpl/numeric_cast.hpp>
 #include <boost/ratio/detail/mpl/gcd.hpp>
 

Modified: trunk/boost/ratio/mpl/greater.hpp
==============================================================================
--- trunk/boost/ratio/mpl/greater.hpp (original)
+++ trunk/boost/ratio/mpl/greater.hpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -9,7 +9,7 @@
 #ifndef BOOST_RATIO_MPL_GREATER_HPP
 #define BOOST_RATIO_MPL_GREATER_HPP
 
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 #include <boost/ratio/mpl/numeric_cast.hpp>
 #include <boost/mpl/greater.hpp>
 

Modified: trunk/boost/ratio/mpl/greater_equal.hpp
==============================================================================
--- trunk/boost/ratio/mpl/greater_equal.hpp (original)
+++ trunk/boost/ratio/mpl/greater_equal.hpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -9,7 +9,7 @@
 #ifndef BOOST_RATIO_MPL_GREATER_EQUAL_HPP
 #define BOOST_RATIO_MPL_GREATER_EQUAL_HPP
 
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 #include <boost/ratio/mpl/numeric_cast.hpp>
 #include <boost/mpl/greater_equal.hpp>
 

Modified: trunk/boost/ratio/mpl/lcm.hpp
==============================================================================
--- trunk/boost/ratio/mpl/lcm.hpp (original)
+++ trunk/boost/ratio/mpl/lcm.hpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -9,7 +9,7 @@
 #ifndef BOOST_RATIO_MPL_LCM_HPP
 #define BOOST_RATIO_MPL_LCM_HPP
 
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 #include <boost/ratio/mpl/numeric_cast.hpp>
 #include <boost/ratio/detail/mpl/lcm.hpp>
 

Modified: trunk/boost/ratio/mpl/less.hpp
==============================================================================
--- trunk/boost/ratio/mpl/less.hpp (original)
+++ trunk/boost/ratio/mpl/less.hpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -9,7 +9,7 @@
 #ifndef BOOST_RATIO_MPL_LESS_HPP
 #define BOOST_RATIO_MPL_LESS_HPP
 
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 #include <boost/ratio/mpl/numeric_cast.hpp>
 #include <boost/mpl/less.hpp>
 

Modified: trunk/boost/ratio/mpl/less_equal.hpp
==============================================================================
--- trunk/boost/ratio/mpl/less_equal.hpp (original)
+++ trunk/boost/ratio/mpl/less_equal.hpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -9,7 +9,7 @@
 #ifndef BOOST_RATIO_MPL_LESS_EQUAL_HPP
 #define BOOST_RATIO_MPL_LESS_EQUAL_HPP
 
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 #include <boost/ratio/mpl/numeric_cast.hpp>
 #include <boost/mpl/less_equal.hpp>
 

Modified: trunk/boost/ratio/mpl/minus.hpp
==============================================================================
--- trunk/boost/ratio/mpl/minus.hpp (original)
+++ trunk/boost/ratio/mpl/minus.hpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -9,7 +9,7 @@
 #ifndef BOOST_RATIO_MPL_MINUS_HPP
 #define BOOST_RATIO_MPL_MINUS_HPP
 
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 #include <boost/ratio/mpl/numeric_cast.hpp>
 #include <boost/mpl/minus.hpp>
 

Modified: trunk/boost/ratio/mpl/negate.hpp
==============================================================================
--- trunk/boost/ratio/mpl/negate.hpp (original)
+++ trunk/boost/ratio/mpl/negate.hpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -9,7 +9,7 @@
 #ifndef BOOST_RATIO_MPL_NEGATE_HPP
 #define BOOST_RATIO_MPL_NEGATE_HPP
 
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 #include <boost/ratio/mpl/numeric_cast.hpp>
 #include <boost/mpl/negate.hpp>
 

Modified: trunk/boost/ratio/mpl/not_equal_to.hpp
==============================================================================
--- trunk/boost/ratio/mpl/not_equal_to.hpp (original)
+++ trunk/boost/ratio/mpl/not_equal_to.hpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -9,7 +9,7 @@
 #ifndef BOOST_RATIO_MPL_NOT_EQUAL_TO_HPP
 #define BOOST_RATIO_MPL_NOT_EQUAL_TO_HPP
 
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 #include <boost/ratio/mpl/numeric_cast.hpp>
 #include <boost/mpl/not_equal_to.hpp>
 

Modified: trunk/boost/ratio/mpl/numeric_cast.hpp
==============================================================================
--- trunk/boost/ratio/mpl/numeric_cast.hpp (original)
+++ trunk/boost/ratio/mpl/numeric_cast.hpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -9,7 +9,7 @@
 #ifndef BOOST_RATIO_MPL_NUMERIC_CAST_HPP
 #define BOOST_RATIO_MPL_NUMERIC_CAST_HPP
 
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 #include <boost/mpl/integral_c.hpp>
 #include <boost/mpl/numeric_cast.hpp>
 

Modified: trunk/boost/ratio/mpl/plus.hpp
==============================================================================
--- trunk/boost/ratio/mpl/plus.hpp (original)
+++ trunk/boost/ratio/mpl/plus.hpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -9,7 +9,7 @@
 #ifndef BOOST_RATIO_MPL_PLUS_HPP
 #define BOOST_RATIO_MPL_PLUS_HPP
 
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 #include <boost/ratio/mpl/numeric_cast.hpp>
 #include <boost/mpl/plus.hpp>
 

Modified: trunk/boost/ratio/mpl/sign.hpp
==============================================================================
--- trunk/boost/ratio/mpl/sign.hpp (original)
+++ trunk/boost/ratio/mpl/sign.hpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -9,7 +9,7 @@
 #ifndef BOOST_RATIO_MPL_SIGN_HPP
 #define BOOST_RATIO_MPL_SIGN_HPP
 
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 #include <boost/ratio/mpl/numeric_cast.hpp>
 #include <boost/ratio/detail/mpl/sign.hpp>
 

Modified: trunk/boost/ratio/mpl/times.hpp
==============================================================================
--- trunk/boost/ratio/mpl/times.hpp (original)
+++ trunk/boost/ratio/mpl/times.hpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -9,7 +9,7 @@
 #ifndef BOOST_RATIO_MPL_TIMES_HPP
 #define BOOST_RATIO_MPL_TIMES_HPP
 
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 #include <boost/ratio/mpl/numeric_cast.hpp>
 #include <boost/mpl/times.hpp>
 

Modified: trunk/boost/ratio/ratio_io.hpp
==============================================================================
--- trunk/boost/ratio/ratio_io.hpp (original)
+++ trunk/boost/ratio/ratio_io.hpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -34,7 +34,7 @@
 */
 
 #include <boost/config.hpp>
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 #include <string>
 #include <sstream>
 

Modified: trunk/boost/ratio/ratio_static_string.hpp
==============================================================================
--- trunk/boost/ratio/ratio_static_string.hpp (original)
+++ trunk/boost/ratio/ratio_static_string.hpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -33,7 +33,7 @@
 */
 
 #include <boost/config.hpp>
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 #include <boost/static_string/basic_str.hpp>
 //#include <sstream>
 

Modified: trunk/boost/system/api_config.hpp
==============================================================================
--- trunk/boost/system/api_config.hpp (original)
+++ trunk/boost/system/api_config.hpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -21,22 +21,29 @@
 
 //--------------------------------------------------------------------------------------//
 
-#ifndef BOOST_SYSTEM_API_CONFIG_HPP
+#ifndef BOOST_SYSTEM_API_CONFIG_HPP
 #define BOOST_SYSTEM_API_CONFIG_HPP
 
-# if defined(BOOST_POSIX_API) || defined(BOOST_WINDOWS_API)
-# error user defined BOOST_POSIX_API or BOOST_WINDOWS_API not supported
+# if defined(BOOST_SYSTEM_POSIX_API) || defined(BOOST_SYSTEM_WINDOWS_API)
+# error user defined BOOST_SYSTEM_POSIX_API or BOOST_SYSTEM_WINDOWS_API not supported
 # endif
 
-// BOOST_POSIX_API or BOOST_WINDOWS_API specify which API to use
+// BOOST_SYSTEM_POSIX_API or BOOST_SYSTEM_WINDOWS_API specify which API to use
 // Cygwin/MinGW does not predefine _WIN32.
 // Standalone MinGW and all other known Windows compilers do predefine _WIN32
 // Compilers that predefine _WIN32 or __MINGW32__ do so for Windows 64-bit builds too.
 
+# if (defined(_WIN32) || defined(__WIN32__) || defined(WIN32) )
+# define BOOST_SYSTEM_WINDOWS_API
+# else
+# define BOOST_SYSTEM_POSIX_API
+# endif
+
+//# if (defined(_WIN32) || defined(__WIN32__) || defined(WIN32) || defined(__CYGWIN__))
 # if defined(_WIN32) || defined(__CYGWIN__) // Windows default, including MinGW and Cygwin
 # define BOOST_WINDOWS_API
 # else
-# define BOOST_POSIX_API
+# define BOOST_POSIX_API
 # endif
-
-#endif // BOOST_SYSTEM_API_CONFIG_HPP
+
+#endif // BOOST_SYSTEM_API_CONFIG_HPP

Modified: trunk/boost/system/config.hpp
==============================================================================
--- trunk/boost/system/config.hpp (original)
+++ trunk/boost/system/config.hpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -7,11 +7,23 @@
 
 // See http://www.boost.org/libs/system for documentation.
 
-#ifndef BOOST_SYSTEM_CONFIG_HPP
+#ifndef BOOST_SYSTEM_CONFIG_HPP
 #define BOOST_SYSTEM_CONFIG_HPP
 
 #include <boost/config.hpp>
-#include <boost/system/api_config.hpp> // for BOOST_POSIX_API or BOOST_WINDOWS_API
+
+#if defined(BOOST_SYSTEM_SOURCE) && !defined(BOOST_USE_WINDOWS_H)
+#define BOOST_USE_WINDOWS_H
+#endif
+
+#include <boost/system/api_config.hpp> // for BOOST_SYSTEM_POSIX_API or BOOST_SYSTEM_WINDOWS_API
+
+#ifdef BOOST_SYSTEM_INLINED
+#define BOOST_SYSTEM_INLINE inline
+#define BOOST_SYSTEM_DECL
+
+#else
+#define BOOST_SYSTEM_INLINE
 
 // This header implements separate compilation features as described in
 // http://www.boost.org/more/separate_compilation.html
@@ -21,14 +33,14 @@
 #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_SYSTEM_DYN_LINK)
 # if defined(BOOST_SYSTEM_SOURCE)
 # define BOOST_SYSTEM_DECL BOOST_SYMBOL_EXPORT
-# else
+# else
 # define BOOST_SYSTEM_DECL BOOST_SYMBOL_IMPORT
 # endif
 #else
 # define BOOST_SYSTEM_DECL
 #endif
 
-// enable automatic library variant selection ----------------------------------------//
+// enable automatic library variant selection ----------------------------------------//
 
 #if !defined(BOOST_SYSTEM_SOURCE) && !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_SYSTEM_NO_LIB)
 //
@@ -48,5 +60,7 @@
 #include <boost/config/auto_link.hpp>
 #endif // auto-linking disabled
 
+#endif // BOOST_SYSTEM_INLINED
+
 #endif // BOOST_SYSTEM_CONFIG_HPP
 

Modified: trunk/boost/system/cygwin_error.hpp
==============================================================================
--- trunk/boost/system/cygwin_error.hpp (original)
+++ trunk/boost/system/cygwin_error.hpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -7,8 +7,8 @@
 
 // See library home page at http://www.boost.org/libs/system
 
-#ifndef BOOST_CYGWIN_ERROR_HPP
-#define BOOST_CYGWIN_ERROR_HPP
+#ifndef BOOST_SYSTEM_CYGWIN_ERROR_HPP
+#define BOOST_SYSTEM_CYGWIN_ERROR_HPP
 
 // This header is effectively empty for compiles on operating systems where
 // it is not applicable.
@@ -27,7 +27,7 @@
 
     // User code should use the portable "posix" enums for POSIX errors; this
     // allows such code to be portable to non-POSIX systems. For the non-POSIX
- // errno values that POSIX-based systems typically provide in addition to
+ // errno values that POSIX-based systems typically provide in addition to
     // POSIX values, use the system specific enums below.
 
    namespace cygwin_error
@@ -53,4 +53,4 @@
 
 #endif // __CYGWIN__
 
-#endif // BOOST_CYGWIN_ERROR_HPP
+#endif // BOOST_SYSTEM_CYGWIN_ERROR_HPP

Modified: trunk/libs/ratio/example/duration.hpp
==============================================================================
--- trunk/libs/ratio/example/duration.hpp (original)
+++ trunk/libs/ratio/example/duration.hpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -40,7 +40,7 @@
 
 
 #include <boost/mpl/logical.hpp>
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 #include <boost/type_traits/common_type.hpp>
 #include <boost/type_traits/is_convertible.hpp>
 #include <boost/type_traits/is_floating_point.hpp>

Modified: trunk/libs/ratio/example/si_physics.cpp
==============================================================================
--- trunk/libs/ratio/example/si_physics.cpp (original)
+++ trunk/libs/ratio/example/si_physics.cpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -7,7 +7,7 @@
 // See http://www.boost.org/LICENSE_1_0.txt
 
 #include <iostream>
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 #include "duration.hpp"
 
 namespace User1

Modified: trunk/libs/ratio/test/ratio_arithmetic/ratio_add_2_fail.cpp
==============================================================================
--- trunk/libs/ratio/test/ratio_arithmetic/ratio_add_2_fail.cpp (original)
+++ trunk/libs/ratio/test/ratio_arithmetic/ratio_add_2_fail.cpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -11,7 +11,7 @@
 // Distributed under the Boost Software License, Version 1.0.
 // See http://www.boost.org/LICENSE_1_0.txt
 
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 
 
 template <typename R>

Modified: trunk/libs/ratio/test/ratio_arithmetic/ratio_add_3_fail.cpp
==============================================================================
--- trunk/libs/ratio/test/ratio_arithmetic/ratio_add_3_fail.cpp (original)
+++ trunk/libs/ratio/test/ratio_arithmetic/ratio_add_3_fail.cpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -11,7 +11,7 @@
 // Distributed under the Boost Software License, Version 1.0.
 // See http://www.boost.org/LICENSE_1_0.txt
 
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 
 template <typename T, typename R>
 struct S {

Modified: trunk/libs/ratio/test/ratio_arithmetic/ratio_add_fail.cpp
==============================================================================
--- trunk/libs/ratio/test/ratio_arithmetic/ratio_add_fail.cpp (original)
+++ trunk/libs/ratio/test/ratio_arithmetic/ratio_add_fail.cpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -11,7 +11,7 @@
 // Distributed under the Boost Software License, Version 1.0.
 // See http://www.boost.org/LICENSE_1_0.txt
 
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 #include <boost/integer_traits.hpp>
 
 #if !defined(BOOST_NO_STATIC_ASSERT)

Modified: trunk/libs/ratio/test/ratio_arithmetic/ratio_add_pass.cpp
==============================================================================
--- trunk/libs/ratio/test/ratio_arithmetic/ratio_add_pass.cpp (original)
+++ trunk/libs/ratio/test/ratio_arithmetic/ratio_add_pass.cpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -13,7 +13,7 @@
 
 // test ratio_add
 
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 #if !defined(BOOST_NO_STATIC_ASSERT)
 #define NOTHING ""
 #endif

Modified: trunk/libs/ratio/test/ratio_arithmetic/ratio_divide_fail.cpp
==============================================================================
--- trunk/libs/ratio/test/ratio_arithmetic/ratio_divide_fail.cpp (original)
+++ trunk/libs/ratio/test/ratio_arithmetic/ratio_divide_fail.cpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -13,7 +13,7 @@
 
 // test ratio_divide
 
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 
 typedef boost::ratio<BOOST_RATIO_INTMAX_C(0x7FFFFFFFFFFFFFFF), 1> R1;
 typedef boost::ratio<1,2> R2;

Modified: trunk/libs/ratio/test/ratio_arithmetic/ratio_divide_pass.cpp
==============================================================================
--- trunk/libs/ratio/test/ratio_arithmetic/ratio_divide_pass.cpp (original)
+++ trunk/libs/ratio/test/ratio_arithmetic/ratio_divide_pass.cpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -13,7 +13,7 @@
 
 // test ratio_divide
 
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 #if !defined(BOOST_NO_STATIC_ASSERT)
 #define NOTHING ""
 #endif

Modified: trunk/libs/ratio/test/ratio_arithmetic/ratio_multiply_fail.cpp
==============================================================================
--- trunk/libs/ratio/test/ratio_arithmetic/ratio_multiply_fail.cpp (original)
+++ trunk/libs/ratio/test/ratio_arithmetic/ratio_multiply_fail.cpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -13,7 +13,7 @@
 
 // test ratio_multiply
 
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 
 typedef boost::ratio<BOOST_RATIO_INTMAX_C(0x7FFFFFFFFFFFFFFF), 1> R1;
 typedef boost::ratio<2,1> R2;

Modified: trunk/libs/ratio/test/ratio_arithmetic/ratio_multiply_pass.cpp
==============================================================================
--- trunk/libs/ratio/test/ratio_arithmetic/ratio_multiply_pass.cpp (original)
+++ trunk/libs/ratio/test/ratio_arithmetic/ratio_multiply_pass.cpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -13,7 +13,7 @@
 
 // test ratio_multiply
 
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 #if !defined(BOOST_NO_STATIC_ASSERT)
 #define NOTHING ""
 #endif

Modified: trunk/libs/ratio/test/ratio_arithmetic/ratio_subtract_fail.cpp
==============================================================================
--- trunk/libs/ratio/test/ratio_arithmetic/ratio_subtract_fail.cpp (original)
+++ trunk/libs/ratio/test/ratio_arithmetic/ratio_subtract_fail.cpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -13,7 +13,7 @@
 
 // test ratio_subtract
 
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 
 typedef boost::ratio<BOOST_RATIO_INTMAX_C(-0x7FFFFFFFFFFFFFFF), 1> R1;
 typedef boost::ratio<1,1> R2;

Modified: trunk/libs/ratio/test/ratio_arithmetic/ratio_subtract_pass.cpp
==============================================================================
--- trunk/libs/ratio/test/ratio_arithmetic/ratio_subtract_pass.cpp (original)
+++ trunk/libs/ratio/test/ratio_arithmetic/ratio_subtract_pass.cpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -13,7 +13,7 @@
 
 // test ratio_subtract
 
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 #if !defined(BOOST_NO_STATIC_ASSERT)
 #define NOTHING ""
 #endif

Modified: trunk/libs/ratio/test/ratio_comparison/ratio_equal_pass.cpp
==============================================================================
--- trunk/libs/ratio/test/ratio_comparison/ratio_equal_pass.cpp (original)
+++ trunk/libs/ratio/test/ratio_comparison/ratio_equal_pass.cpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -13,7 +13,7 @@
 
 // test ratio_equal
 
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 #if !defined(BOOST_NO_STATIC_ASSERT)
 #define NOTHING ""
 #endif

Modified: trunk/libs/ratio/test/ratio_comparison/ratio_greater_equal_pass.cpp
==============================================================================
--- trunk/libs/ratio/test/ratio_comparison/ratio_greater_equal_pass.cpp (original)
+++ trunk/libs/ratio/test/ratio_comparison/ratio_greater_equal_pass.cpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -11,7 +11,7 @@
 // Distributed under the Boost Software License, Version 1.0.
 // See http://www.boost.org/LICENSE_1_0.txt
 
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 #if !defined(BOOST_NO_STATIC_ASSERT)
 #define NOTHING ""
 #endif

Modified: trunk/libs/ratio/test/ratio_comparison/ratio_greater_pass.cpp
==============================================================================
--- trunk/libs/ratio/test/ratio_comparison/ratio_greater_pass.cpp (original)
+++ trunk/libs/ratio/test/ratio_comparison/ratio_greater_pass.cpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -11,7 +11,7 @@
 // Distributed under the Boost Software License, Version 1.0.
 // See http://www.boost.org/LICENSE_1_0.txt
 
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 #if !defined(BOOST_NO_STATIC_ASSERT)
 #define NOTHING ""
 #endif

Modified: trunk/libs/ratio/test/ratio_comparison/ratio_less_equal_pass.cpp
==============================================================================
--- trunk/libs/ratio/test/ratio_comparison/ratio_less_equal_pass.cpp (original)
+++ trunk/libs/ratio/test/ratio_comparison/ratio_less_equal_pass.cpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -11,7 +11,7 @@
 // Distributed under the Boost Software License, Version 1.0.
 // See http://www.boost.org/LICENSE_1_0.txt
 
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 #if !defined(BOOST_NO_STATIC_ASSERT)
 #define NOTHING ""
 #endif

Modified: trunk/libs/ratio/test/ratio_comparison/ratio_less_pass.cpp
==============================================================================
--- trunk/libs/ratio/test/ratio_comparison/ratio_less_pass.cpp (original)
+++ trunk/libs/ratio/test/ratio_comparison/ratio_less_pass.cpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -11,7 +11,7 @@
 // Distributed under the Boost Software License, Version 1.0.
 // See http://www.boost.org/LICENSE_1_0.txt
 
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 #if !defined(BOOST_NO_STATIC_ASSERT)
 #define NOTHING ""
 #endif

Modified: trunk/libs/ratio/test/ratio_comparison/ratio_not_equal_pass.cpp
==============================================================================
--- trunk/libs/ratio/test/ratio_comparison/ratio_not_equal_pass.cpp (original)
+++ trunk/libs/ratio/test/ratio_comparison/ratio_not_equal_pass.cpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -11,7 +11,7 @@
 // Distributed under the Boost Software License, Version 1.0.
 // See http://www.boost.org/LICENSE_1_0.txt
 
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 #if !defined(BOOST_NO_STATIC_ASSERT)
 #define NOTHING ""
 #endif

Modified: trunk/libs/ratio/test/ratio_extensions/ratio_ext_pass.cpp
==============================================================================
--- trunk/libs/ratio/test/ratio_extensions/ratio_ext_pass.cpp (original)
+++ trunk/libs/ratio/test/ratio_extensions/ratio_ext_pass.cpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -5,7 +5,7 @@
 // test ratio: equivalent ratios convert with BOOST_RATIO_EXTENSIONS
 
 #define BOOST_RATIO_EXTENSIONS
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 #include <boost/detail/lightweight_test.hpp>
 
 boost::intmax_t func(boost::ratio<5,6> s);

Modified: trunk/libs/ratio/test/ratio_ratio/ratio1_fail.cpp
==============================================================================
--- trunk/libs/ratio/test/ratio_ratio/ratio1_fail.cpp (original)
+++ trunk/libs/ratio/test/ratio_ratio/ratio1_fail.cpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -13,7 +13,7 @@
 
 // test ratio: The template argument D mus not be zero
 
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 #include <boost/cstdint.hpp>
 
 void test()

Modified: trunk/libs/ratio/test/ratio_ratio/ratio2_fail.cpp
==============================================================================
--- trunk/libs/ratio/test/ratio_ratio/ratio2_fail.cpp (original)
+++ trunk/libs/ratio/test/ratio_ratio/ratio2_fail.cpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -14,7 +14,7 @@
 // test ratio: the absolute values of the template arguments N and D
 // must be representable by type intmax_t.
 
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 #include <cstdint>
 
 void test()

Modified: trunk/libs/ratio/test/ratio_ratio/ratio3_fail.cpp
==============================================================================
--- trunk/libs/ratio/test/ratio_ratio/ratio3_fail.cpp (original)
+++ trunk/libs/ratio/test/ratio_ratio/ratio3_fail.cpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -14,7 +14,7 @@
 // test ratio: the absolute values of the template arguments N and D
 // must be representable by type intmax_t.
 
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 #include <boost/cstdint.hpp>
 
 void test()

Modified: trunk/libs/ratio/test/ratio_ratio/ratio4_fail.cpp
==============================================================================
--- trunk/libs/ratio/test/ratio_ratio/ratio4_fail.cpp (original)
+++ trunk/libs/ratio/test/ratio_ratio/ratio4_fail.cpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -13,7 +13,7 @@
 
 //#define BOOST_RATIO_EXTENSIONS
 
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 
 boost::intmax_t func(boost::ratio<5,6> const& s) {
     return s.num;

Modified: trunk/libs/ratio/test/ratio_ratio/ratio_pass.cpp
==============================================================================
--- trunk/libs/ratio/test/ratio_ratio/ratio_pass.cpp (original)
+++ trunk/libs/ratio/test/ratio_ratio/ratio_pass.cpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -14,7 +14,7 @@
 // test ratio: The static data members num and den shall have thcommon
 // divisor of the absolute values of N and D:
 
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 
 #if !defined(BOOST_NO_STATIC_ASSERT)
 #define NOTHING ""

Modified: trunk/libs/ratio/test/ratio_test.cpp
==============================================================================
--- trunk/libs/ratio/test/ratio_test.cpp (original)
+++ trunk/libs/ratio/test/ratio_test.cpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -6,7 +6,7 @@
 // Distributed under the Boost Software License, Version 1.0.
 // See http://www.boost.org/LICENSE_1_0.txt
 
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 #include <iostream>
 
 typedef boost::ratio<5, 3> five_thirds; // five_thirds::num == 5, five_thirds::den == 3

Modified: trunk/libs/ratio/test/typedefs_pass.cpp
==============================================================================
--- trunk/libs/ratio/test/typedefs_pass.cpp (original)
+++ trunk/libs/ratio/test/typedefs_pass.cpp 2011-01-16 07:07:26 EST (Sun, 16 Jan 2011)
@@ -4,7 +4,7 @@
 
 // test ratio typedef's
 
-#include <boost/ratio.hpp>
+#include <boost/ratio/ratio.hpp>
 
 #if !defined(BOOST_NO_STATIC_ASSERT)
 #define NOTHING ""


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