[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [5126] Include boost headers less promiscuously
From: |
Greg Chicares |
Subject: |
[lmi-commits] [5126] Include boost headers less promiscuously |
Date: |
Tue, 14 Dec 2010 01:53:40 +0000 |
Revision: 5126
http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=5126
Author: chicares
Date: 2010-12-14 01:53:40 +0000 (Tue, 14 Dec 2010)
Log Message:
-----------
Include boost headers less promiscuously
Modified Paths:
--------------
lmi/trunk/ChangeLog
lmi/trunk/alert.cpp
lmi/trunk/any_member.hpp
lmi/trunk/callback.hpp
lmi/trunk/ieee754.hpp
lmi/trunk/math_functors.hpp
lmi/trunk/mc_enum.hpp
lmi/trunk/multidimgrid_safe.hpp
lmi/trunk/mvc_controller.tpp
lmi/trunk/numeric_io_cast.hpp
lmi/trunk/numeric_io_traits.hpp
lmi/trunk/round_to.hpp
lmi/trunk/safely_dereference_as.hpp
lmi/trunk/stream_cast.hpp
lmi/trunk/tn_range.hpp
lmi/trunk/tn_range_type_trammels.hpp
lmi/trunk/value_cast.hpp
lmi/trunk/view_ex.tpp
lmi/trunk/wx_utility.hpp
lmi/trunk/xml_serializable.tpp
Modified: lmi/trunk/ChangeLog
===================================================================
--- lmi/trunk/ChangeLog 2010-12-13 20:28:35 UTC (rev 5125)
+++ lmi/trunk/ChangeLog 2010-12-14 01:53:40 UTC (rev 5126)
@@ -26908,3 +26908,28 @@
Upgrade Comeau compiler from 4.3.3 (20040505) to 4.3.10.1 (current).
The older version couldn't handle the SFINAE code in 'contains.hpp'.
+20101214T0153Z <address@hidden> [656]
+
+ alert.cpp
+ any_member.hpp
+ callback.hpp
+ ieee754.hpp
+ math_functors.hpp
+ mc_enum.hpp
+ multidimgrid_safe.hpp
+ mvc_controller.tpp
+ numeric_io_cast.hpp
+ numeric_io_traits.hpp
+ round_to.hpp
+ safely_dereference_as.hpp
+ stream_cast.hpp
+ tn_range.hpp
+ tn_range_type_trammels.hpp
+ value_cast.hpp
+ view_ex.tpp
+ wx_utility.hpp
+ xml_serializable.tpp
+Include boost headers less promiscuously. The latest version of Comeau
+rejects 'type_with_alignment.hpp'; lmi has no need of it, but it was
+haphazardly included by 'type_traits.hpp'.
+
Modified: lmi/trunk/alert.cpp
===================================================================
--- lmi/trunk/alert.cpp 2010-12-13 20:28:35 UTC (rev 5125)
+++ lmi/trunk/alert.cpp 2010-12-14 01:53:40 UTC (rev 5126)
@@ -30,7 +30,7 @@
#if !defined __BORLANDC__
# include <boost/static_assert.hpp>
-# include <boost/type_traits.hpp>
+# include <boost/type_traits/is_base_and_derived.hpp>
#else // Defined __BORLANDC__ .
# define BOOST_STATIC_ASSERT(deliberately_ignored) class IgNoRe
#endif // Defined __BORLANDC__ .
Modified: lmi/trunk/any_member.hpp
===================================================================
--- lmi/trunk/any_member.hpp 2010-12-13 20:28:35 UTC (rev 5125)
+++ lmi/trunk/any_member.hpp 2010-12-14 01:53:40 UTC (rev 5126)
@@ -71,7 +71,8 @@
#if !defined __BORLANDC__
# include <boost/static_assert.hpp>
-# include <boost/type_traits.hpp>
+# include <boost/type_traits/is_base_and_derived.hpp>
+# include <boost/type_traits/is_same.hpp>
#else // defined __BORLANDC__
# define BOOST_STATIC_ASSERT(deliberately_ignored) class IgNoRe
#endif // defined __BORLANDC__
Modified: lmi/trunk/callback.hpp
===================================================================
--- lmi/trunk/callback.hpp 2010-12-13 20:28:35 UTC (rev 5125)
+++ lmi/trunk/callback.hpp 2010-12-14 01:53:40 UTC (rev 5126)
@@ -31,7 +31,9 @@
#if !defined __BORLANDC__
# include <boost/static_assert.hpp>
-# include <boost/type_traits.hpp>
+# include <boost/type_traits/is_function.hpp>
+# include <boost/type_traits/is_pointer.hpp>
+# include <boost/type_traits/remove_pointer.hpp>
#endif // !defined __BORLANDC__
#include <boost/utility.hpp>
Modified: lmi/trunk/ieee754.hpp
===================================================================
--- lmi/trunk/ieee754.hpp 2010-12-13 20:28:35 UTC (rev 5125)
+++ lmi/trunk/ieee754.hpp 2010-12-14 01:53:40 UTC (rev 5126)
@@ -28,7 +28,7 @@
#if !defined __BORLANDC__
# include <boost/static_assert.hpp>
-# include <boost/type_traits/arithmetic_traits.hpp>
+# include <boost/type_traits/is_float.hpp>
#else // Defined __BORLANDC__ .
# define BOOST_STATIC_ASSERT(deliberately_ignored) class IgNoRe
#endif // Defined __BORLANDC__ .
Modified: lmi/trunk/math_functors.hpp
===================================================================
--- lmi/trunk/math_functors.hpp 2010-12-13 20:28:35 UTC (rev 5125)
+++ lmi/trunk/math_functors.hpp 2010-12-14 01:53:40 UTC (rev 5126)
@@ -28,7 +28,7 @@
#if !defined __BORLANDC__
# include <boost/static_assert.hpp>
-# include <boost/type_traits.hpp>
+# include <boost/type_traits/is_float.hpp>
#else // Defined __BORLANDC__ .
# define BOOST_STATIC_ASSERT(deliberately_ignored) class IgNoRe
#endif // Defined __BORLANDC__ .
Modified: lmi/trunk/mc_enum.hpp
===================================================================
--- lmi/trunk/mc_enum.hpp 2010-12-13 20:28:35 UTC (rev 5125)
+++ lmi/trunk/mc_enum.hpp 2010-12-14 01:53:40 UTC (rev 5126)
@@ -30,7 +30,7 @@
#include <boost/operators.hpp>
#include <boost/static_assert.hpp>
-#include <boost/type_traits.hpp>
+#include <boost/type_traits/is_enum.hpp>
#include <cstddef> // std::size_t
#include <deque>
Modified: lmi/trunk/multidimgrid_safe.hpp
===================================================================
--- lmi/trunk/multidimgrid_safe.hpp 2010-12-13 20:28:35 UTC (rev 5125)
+++ lmi/trunk/multidimgrid_safe.hpp 2010-12-14 01:53:40 UTC (rev 5126)
@@ -35,7 +35,8 @@
#include <boost/any.hpp>
#include <boost/static_assert.hpp>
-#include <boost/type_traits.hpp>
+#include <boost/type_traits/is_base_of.hpp>
+#include <boost/type_traits/is_same.hpp>
/// MultiDim* type-safe classes
/// ---------------------------
Modified: lmi/trunk/mvc_controller.tpp
===================================================================
--- lmi/trunk/mvc_controller.tpp 2010-12-13 20:28:35 UTC (rev 5125)
+++ lmi/trunk/mvc_controller.tpp 2010-12-14 01:53:40 UTC (rev 5126)
@@ -29,7 +29,9 @@
#include "rtti_lmi.hpp"
#include <boost/static_assert.hpp>
-#include <boost/type_traits.hpp>
+#include <boost/type_traits/is_base_and_derived.hpp>
+#include <boost/type_traits/is_pointer.hpp>
+#include <boost/type_traits/is_same.hpp>
#include <wx/window.h>
#include <wx/xrc/xmlres.h>
Modified: lmi/trunk/numeric_io_cast.hpp
===================================================================
--- lmi/trunk/numeric_io_cast.hpp 2010-12-13 20:28:35 UTC (rev 5125)
+++ lmi/trunk/numeric_io_cast.hpp 2010-12-14 01:53:40 UTC (rev 5126)
@@ -37,7 +37,8 @@
#if !defined __BORLANDC__
# include <boost/static_assert.hpp>
-# include <boost/type_traits.hpp>
+# include <boost/type_traits/is_arithmetic.hpp>
+# include <boost/type_traits/is_void.hpp>
#else // defined __BORLANDC__
# define BOOST_STATIC_ASSERT(deliberately_ignored) class IgNoRe
#endif // defined __BORLANDC__
Modified: lmi/trunk/numeric_io_traits.hpp
===================================================================
--- lmi/trunk/numeric_io_traits.hpp 2010-12-13 20:28:35 UTC (rev 5125)
+++ lmi/trunk/numeric_io_traits.hpp 2010-12-14 01:53:40 UTC (rev 5126)
@@ -38,7 +38,7 @@
#if !defined __BORLANDC__
# include <boost/cast.hpp>
# include <boost/static_assert.hpp>
-# include <boost/type_traits.hpp>
+# include <boost/type_traits/is_float.hpp>
#else // defined __BORLANDC__
// COMPILER !! Workarounds for defective borland compiler.
# define BOOST_STATIC_ASSERT(deliberately_ignored) class IgNoRe
Modified: lmi/trunk/round_to.hpp
===================================================================
--- lmi/trunk/round_to.hpp 2010-12-13 20:28:35 UTC (rev 5125)
+++ lmi/trunk/round_to.hpp 2010-12-14 01:53:40 UTC (rev 5126)
@@ -30,7 +30,7 @@
#if !defined __BORLANDC__
# include <boost/static_assert.hpp>
-# include <boost/type_traits/arithmetic_traits.hpp>
+# include <boost/type_traits/is_float.hpp>
#else // Defined __BORLANDC__ .
# define BOOST_STATIC_ASSERT(deliberately_ignored) class IgNoRe
#endif // Defined __BORLANDC__ .
Modified: lmi/trunk/safely_dereference_as.hpp
===================================================================
--- lmi/trunk/safely_dereference_as.hpp 2010-12-13 20:28:35 UTC (rev 5125)
+++ lmi/trunk/safely_dereference_as.hpp 2010-12-14 01:53:40 UTC (rev 5126)
@@ -30,7 +30,8 @@
#if !defined __BORLANDC__
# include <boost/static_assert.hpp>
-# include <boost/type_traits.hpp>
+# include <boost/type_traits/is_base_and_derived.hpp>
+# include <boost/type_traits/is_same.hpp>
#else // Defined __BORLANDC__ .
# define BOOST_STATIC_ASSERT(deliberately_ignored) class IgNoRe
#endif // Defined __BORLANDC__ .
Modified: lmi/trunk/stream_cast.hpp
===================================================================
--- lmi/trunk/stream_cast.hpp 2010-12-13 20:28:35 UTC (rev 5125)
+++ lmi/trunk/stream_cast.hpp 2010-12-14 01:53:40 UTC (rev 5126)
@@ -53,7 +53,8 @@
#if !defined __BORLANDC__
# include <boost/static_assert.hpp>
-# include <boost/type_traits.hpp>
+# include <boost/type_traits/is_arithmetic.hpp>
+# include <boost/type_traits/is_pointer.hpp>
#else // defined __BORLANDC__
# define BOOST_STATIC_ASSERT(deliberately_ignored) class IgNoRe
#endif // defined __BORLANDC__
Modified: lmi/trunk/tn_range.hpp
===================================================================
--- lmi/trunk/tn_range.hpp 2010-12-13 20:28:35 UTC (rev 5125)
+++ lmi/trunk/tn_range.hpp 2010-12-14 01:53:40 UTC (rev 5126)
@@ -32,7 +32,7 @@
#if !defined __BORLANDC__
# include <boost/static_assert.hpp>
-# include <boost/type_traits.hpp>
+# include <boost/type_traits/is_base_and_derived.hpp>
#else // Defined __BORLANDC__ .
# define BOOST_STATIC_ASSERT(deliberately_ignored) class IgNoRe
#endif // Defined __BORLANDC__ .
Modified: lmi/trunk/tn_range_type_trammels.hpp
===================================================================
--- lmi/trunk/tn_range_type_trammels.hpp 2010-12-13 20:28:35 UTC (rev
5125)
+++ lmi/trunk/tn_range_type_trammels.hpp 2010-12-14 01:53:40 UTC (rev
5126)
@@ -32,7 +32,7 @@
#if !defined __BORLANDC__
# include <boost/static_assert.hpp>
-# include <boost/type_traits.hpp>
+# include <boost/type_traits/is_same.hpp>
#else // Defined __BORLANDC__ .
# define BOOST_STATIC_ASSERT(deliberately_ignored) class IgNoRe
#endif // Defined __BORLANDC__ .
Modified: lmi/trunk/value_cast.hpp
===================================================================
--- lmi/trunk/value_cast.hpp 2010-12-13 20:28:35 UTC (rev 5125)
+++ lmi/trunk/value_cast.hpp 2010-12-14 01:53:40 UTC (rev 5126)
@@ -32,7 +32,9 @@
#if !defined __BORLANDC__
#include <boost/cast.hpp>
-#include <boost/type_traits.hpp>
+#include <boost/type_traits/is_arithmetic.hpp>
+#include <boost/type_traits/is_convertible.hpp>
+#include <boost/type_traits/is_pointer.hpp>
#include <sstream>
#include <stdexcept>
Modified: lmi/trunk/view_ex.tpp
===================================================================
--- lmi/trunk/view_ex.tpp 2010-12-13 20:28:35 UTC (rev 5125)
+++ lmi/trunk/view_ex.tpp 2010-12-14 01:53:40 UTC (rev 5126)
@@ -26,7 +26,7 @@
#include "rtti_lmi.hpp"
#include <boost/static_assert.hpp>
-#include <boost/type_traits.hpp>
+#include <boost/type_traits/is_base_and_derived.hpp>
#include <wx/docview.h>
Modified: lmi/trunk/wx_utility.hpp
===================================================================
--- lmi/trunk/wx_utility.hpp 2010-12-13 20:28:35 UTC (rev 5125)
+++ lmi/trunk/wx_utility.hpp 2010-12-14 01:53:40 UTC (rev 5126)
@@ -29,7 +29,9 @@
#include "so_attributes.hpp"
#include <boost/static_assert.hpp>
-#include <boost/type_traits.hpp>
+#include <boost/type_traits/is_base_and_derived.hpp>
+#include <boost/type_traits/is_same.hpp>
+#include <boost/type_traits/remove_reference.hpp>
#include <wx/event.h>
#include <wx/string.h>
Modified: lmi/trunk/xml_serializable.tpp
===================================================================
--- lmi/trunk/xml_serializable.tpp 2010-12-13 20:28:35 UTC (rev 5125)
+++ lmi/trunk/xml_serializable.tpp 2010-12-14 01:53:40 UTC (rev 5126)
@@ -36,7 +36,7 @@
#include "xml_lmi.hpp"
#include <boost/static_assert.hpp>
-#include <boost/type_traits.hpp>
+#include <boost/type_traits/is_base_and_derived.hpp>
#include <xmlwrapp/nodes_view.h>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi-commits] [5126] Include boost headers less promiscuously,
Greg Chicares <=