Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r78398 - trunk/libs/local_function/test
From: lorcaminiti_at_[hidden]
Date: 2012-05-09 22:08:55


Author: lcaminiti
Date: 2012-05-09 22:08:54 EDT (Wed, 09 May 2012)
New Revision: 78398
URL: http://svn.boost.org/trac/boost/changeset/78398

Log:
Trying to pin-point a VACPP internal error.
Text files modified:
   trunk/libs/local_function/test/all_decl.cpp | 5 +++--
   trunk/libs/local_function/test/all_decl_seq.cpp | 24 ++++++++++++------------
   2 files changed, 15 insertions(+), 14 deletions(-)

Modified: trunk/libs/local_function/test/all_decl.cpp
==============================================================================
--- trunk/libs/local_function/test/all_decl.cpp (original)
+++ trunk/libs/local_function/test/all_decl.cpp 2012-05-09 22:08:54 EDT (Wed, 09 May 2012)
@@ -18,9 +18,10 @@
 BOOST_TYPEOF_REGISTER_TYPE(s) // Register before binding `this_` below.
 
 // Compile all local function declaration combinations.
+/** @todo uncomment this */
 struct s {
     void f(double p = 1.23, double q = -1.23) {
- { // Only params.
+/* { // Only params.
             void BOOST_LOCAL_FUNCTION(int x, int y, default 0) {
             } BOOST_LOCAL_FUNCTION_NAME(l)
             l(1);
@@ -45,7 +46,7 @@
                 return a;
             } BOOST_LOCAL_FUNCTION_NAME(lt)
             lt();
- }
+ }*/
         { // Only plain binds.
             int c, d;
 

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-05-09 22:08:54 EDT (Wed, 09 May 2012)
@@ -55,12 +55,12 @@
                 return *this_;
             } BOOST_LOCAL_FUNCTION_NAME(t)
             t();
-/*
+
             int BOOST_LOCAL_FUNCTION( (bind c) (bind& d)
                     (bind& p) (bind& q) (bind this_) ) {
                 return c;
             } BOOST_LOCAL_FUNCTION_NAME(lt)
- lt();*/
+ lt();
         }
 
         { // Both params and const binds.
@@ -76,12 +76,12 @@
                     (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) ) {
             } BOOST_LOCAL_FUNCTION_NAME(lt)
- lt(1);*/
+ lt(1);
         }
         { // Both params and plain binds.
             int c, d;
@@ -95,12 +95,12 @@
                     (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) ) {
             } BOOST_LOCAL_FUNCTION_NAME(lt)
- lt(1);*/
+ lt(1);
         }
         { // Both const and plain binds.
             int a, b, c, d;
@@ -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)
@@ -127,9 +127,9 @@
             void BOOST_LOCAL_FUNCTION( (const bind a) (const bind& b)
                     (const bind p) (bind c) (bind this_) (bind& d) (bind q) ) {
             } BOOST_LOCAL_FUNCTION_NAME(lpt)
- lpt();*/
+ lpt();
         }
-
+/*
         { // All params, const binds, and plain binds.
             int a, b, c, d;
             
@@ -149,7 +149,7 @@
                     (bind this_) (int x) (int y)(default 0) ) {
             } BOOST_LOCAL_FUNCTION_NAME(pt)
             pt(1);
-/* is this the problem?
+
             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) ) {
@@ -159,8 +159,8 @@
                     (const bind& p) (bind c) (bind& d) (bind this_) (bind& q)
                     (int x) (int y)(default 0) ) {
             } BOOST_LOCAL_FUNCTION_NAME(lpt)
- lpt(1);*/
- }
+ lpt(1);
+ }*/
     }
 };
 


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