|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r56071 - in sandbox/itl/boost: itl/type_traits validate/driver validate/laws
From: afojgo_at_[hidden]
Date: 2009-09-06 13:05:37
Author: jofaber
Date: 2009-09-06 13:05:36 EDT (Sun, 06 Sep 2009)
New Revision: 56071
URL: http://svn.boost.org/trac/boost/changeset/56071
Log:
Refactoring, portability: BOOST_STATIC_CONSTANT adjustments.
Text files modified:
sandbox/itl/boost/itl/type_traits/is_continuous.hpp | 1 +
sandbox/itl/boost/itl/type_traits/is_interval_container.hpp | 1 +
sandbox/itl/boost/validate/driver/itl_driver.hpp | 1 +
sandbox/itl/boost/validate/laws/minor_set_laws.hpp | 22 +++++++++++-----------
4 files changed, 14 insertions(+), 11 deletions(-)
Modified: sandbox/itl/boost/itl/type_traits/is_continuous.hpp
==============================================================================
--- sandbox/itl/boost/itl/type_traits/is_continuous.hpp (original)
+++ sandbox/itl/boost/itl/type_traits/is_continuous.hpp 2009-09-06 13:05:36 EDT (Sun, 06 Sep 2009)
@@ -9,6 +9,7 @@
#define __itl_type_traits_is_continuous_JOFA_080910_H__
#include <string>
+#include <boost/config.hpp>
namespace boost{ namespace itl
{
Modified: sandbox/itl/boost/itl/type_traits/is_interval_container.hpp
==============================================================================
--- sandbox/itl/boost/itl/type_traits/is_interval_container.hpp (original)
+++ sandbox/itl/boost/itl/type_traits/is_interval_container.hpp 2009-09-06 13:05:36 EDT (Sun, 06 Sep 2009)
@@ -10,6 +10,7 @@
#include <boost/mpl/and.hpp>
#include <boost/mpl/not.hpp>
+#include <boost/itl/type_traits/is_map.hpp>
namespace boost{ namespace itl
{
Modified: sandbox/itl/boost/validate/driver/itl_driver.hpp
==============================================================================
--- sandbox/itl/boost/validate/driver/itl_driver.hpp (original)
+++ sandbox/itl/boost/validate/driver/itl_driver.hpp 2009-09-06 13:05:36 EDT (Sun, 06 Sep 2009)
@@ -12,6 +12,7 @@
#include <iostream>
#include <stdio.h>
#include <time.h>
+#include <boost/config/warning_disable.hpp>
#include <boost/validate/validater/algebra_validater.hpp>
#include <boost/validate/utility.hpp>
Modified: sandbox/itl/boost/validate/laws/minor_set_laws.hpp
==============================================================================
--- sandbox/itl/boost/validate/laws/minor_set_laws.hpp (original)
+++ sandbox/itl/boost/validate/laws/minor_set_laws.hpp 2009-09-06 13:05:36 EDT (Sun, 06 Sep 2009)
@@ -68,9 +68,9 @@
// --- left hand side ------------------------
Type value_a = this->template getInputValue<operand_a>();
Type value_b = this->template getInputValue<operand_b>();
- cout << "a = " << value_a << endl;
- cout << "b = " << value_b << endl;
- cout << "a&b = " << (value_a & value_b) << endl;
+ std::cout << "a = " << value_a << std::endl;
+ std::cout << "b = " << value_b << std::endl;
+ std::cout << "a&b = " << (value_a & value_b) << std::endl;
bool a_intersects_b
= intersects(this->template getInputValue<operand_a>(),
@@ -133,10 +133,10 @@
Type a_sec_b = value_a & value_b;
bool result = value_a.contains(value_a & value_b);
// -------------------------------------------
- cout << "a = " << value_a << endl;
- cout << "b = " << value_b << endl;
- cout << "a&b = " << a_sec_b << endl;
- cout << "a.contains(a&b) = " << result << endl;
+ std::cout << "a = " << value_a << std::endl;
+ std::cout << "b = " << value_b << std::endl;
+ std::cout << "a&b = " << a_sec_b << std::endl;
+ std::cout << "a.contains(a&b) = " << result << std::endl;
// -------------------------------------------
value_a.contains(a_sec_b);
@@ -189,10 +189,10 @@
Type a_sec_b = value_a & value_b;
bool result = value_a.contains(value_a & value_b);
// -------------------------------------------
- cout << "a = " << value_a << endl;
- cout << "b = " << value_b << endl;
- cout << "a&b = " << a_sec_b << endl;
- cout << "a.contains(a&b) = " << result << endl;
+ std::cout << "a = " << value_a << std::endl;
+ std::cout << "b = " << value_b << std::endl;
+ std::cout << "a&b = " << a_sec_b << std::endl;
+ std::cout << "a.contains(a&b) = " << result << std::endl;
// -------------------------------------------
value_a.contains(a_sec_b);
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