Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r78181 - trunk/libs/local_function/test
From: lorcaminiti_at_[hidden]
Date: 2012-04-24 14:15:51


Author: lcaminiti
Date: 2012-04-24 14:15:50 EDT (Tue, 24 Apr 2012)
New Revision: 78181
URL: http://svn.boost.org/trac/boost/changeset/78181

Log:
Missing some includes. Added more code to a test to pin-point an Intel internal compiler error.
Text files modified:
   trunk/libs/local_function/test/all_decl_seq.cpp | 24 ++++++++++++------------
   trunk/libs/local_function/test/typeof_seq.cpp | 6 +++---
   2 files changed, 15 insertions(+), 15 deletions(-)

Modified: trunk/libs/local_function/test/all_decl_seq.cpp
==============================================================================
--- trunk/libs/local_function/test/all_decl_seq.cpp (original)
+++ trunk/libs/local_function/test/all_decl_seq.cpp 2012-04-24 14:15:50 EDT (Tue, 24 Apr 2012)
@@ -29,12 +29,12 @@
                 return b;
             } BOOST_LOCAL_FUNCTION_NAME(l)
             l();
-/*
+
             const s& BOOST_LOCAL_FUNCTION( (const bind this_) ) {
                 return *this_;
             } BOOST_LOCAL_FUNCTION_NAME(t)
             t();
-
+/*
             const int BOOST_LOCAL_FUNCTION( (const bind a)
                     (const bind& b) (const bind& p) (const bind q)
                     (const bind this_) ) {
@@ -50,12 +50,12 @@
                 return d;
             } BOOST_LOCAL_FUNCTION_NAME(l)
             l();
-/*
+
             s& BOOST_LOCAL_FUNCTION( (bind this_) ) {
                 return *this_;
             } BOOST_LOCAL_FUNCTION_NAME(t)
             t();
-
+/*
             int BOOST_LOCAL_FUNCTION( (bind c) (bind& d)
                     (bind& p) (bind& q) (bind this_) ) {
                 return c;
@@ -71,12 +71,12 @@
                     (int x) (int y)(default 0) ) {
             } BOOST_LOCAL_FUNCTION_NAME(l)
             l(1);
-/*
+
             void BOOST_LOCAL_FUNCTION( (const bind this_)
                     (int x) (int y)(default 0) ) {
             } BOOST_LOCAL_FUNCTION_NAME(t)
             t(1);
-
+/*
             void BOOST_LOCAL_FUNCTION( (const bind a) (const bind this_)
                     (const bind& b) (const bind& p) (const bind q)
                     (int x) (int y)(default 0) ) {
@@ -90,12 +90,12 @@
                     (int x) (int y)(default 0) ) {
             } BOOST_LOCAL_FUNCTION_NAME(l)
             l(1);
-/*
+
             void BOOST_LOCAL_FUNCTION( (bind this_)
                     (int x) (int y)(default 0) ) {
             } BOOST_LOCAL_FUNCTION_NAME(t)
             t(1);
-
+/*
             void BOOST_LOCAL_FUNCTION( (bind c) (bind& d)
                     (bind& p) (bind this_) (bind q)
                     (int x) (int y)(default 0) ) {
@@ -109,7 +109,7 @@
                     (const bind p) (bind c) (bind& d) (bind q) ) {
             } BOOST_LOCAL_FUNCTION_NAME(l)
             l();
-/*
+
             void BOOST_LOCAL_FUNCTION( (const bind this_)
                     (bind c) (bind& d) (bind q) ) {
             } BOOST_LOCAL_FUNCTION_NAME(ct)
@@ -119,7 +119,7 @@
                     (bind c) (bind& d) (bind q) ) {
             } BOOST_LOCAL_FUNCTION_NAME(lct)
             lct();
-
+/*
             void BOOST_LOCAL_FUNCTION( (const bind a) (const bind& b)
                     (const bind p) (bind this_) ) {
             } BOOST_LOCAL_FUNCTION_NAME(pt)
@@ -138,7 +138,7 @@
                     (bind c) (bind& d) (bind& q) (int x) (int y)(default 0) ) {
             } BOOST_LOCAL_FUNCTION_NAME(l)
             l(1);
-/*
+
             void BOOST_LOCAL_FUNCTION( (const bind this_)
                     (bind c) (bind& d) (bind& q)
                     (int x) (int y)(default 0) ) {
@@ -149,7 +149,7 @@
                     (bind this_) (int x) (int y)(default 0) ) {
             } BOOST_LOCAL_FUNCTION_NAME(pt)
             pt(1);
-
+/*
             void BOOST_LOCAL_FUNCTION( (const bind a) (const bind this_)
                     (const bind& b) (const bind& p) (bind c) (bind& d)
                     (bind& q) (int x) (int y)(default 0) ) {

Modified: trunk/libs/local_function/test/typeof_seq.cpp
==============================================================================
--- trunk/libs/local_function/test/typeof_seq.cpp (original)
+++ trunk/libs/local_function/test/typeof_seq.cpp 2012-04-24 14:15:50 EDT (Tue, 24 Apr 2012)
@@ -6,11 +6,11 @@
 // Home at http://www.boost.org/libs/local_function
 
 #include "addable.hpp"
-//#include <boost/local_function.hpp>
+#include <boost/local_function.hpp>
 #include <boost/type_traits/remove_reference.hpp>
 #include <boost/concept_check.hpp>
-//#include <boost/detail/lightweight_test.hpp>
-//#include <algorithm>
+#include <boost/detail/lightweight_test.hpp>
+#include <algorithm>
 
 int main(void) {
     int sum = 0, factor = 10;


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