Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r78426 - trunk/libs/local_function/test
From: lorcaminiti_at_[hidden]
Date: 2012-05-11 16:07:29


Author: lcaminiti
Date: 2012-05-11 16:07:28 EDT (Fri, 11 May 2012)
New Revision: 78426
URL: http://svn.boost.org/trac/boost/changeset/78426

Log:
Uncommented code that gives internal VACPP error (I couldn't figure it out...).
Text files modified:
   trunk/libs/local_function/test/all_decl.cpp | 9 ++++-----
   trunk/libs/local_function/test/all_decl_seq.cpp | 9 ++++-----
   2 files changed, 8 insertions(+), 10 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-11 16:07:28 EDT (Fri, 11 May 2012)
@@ -18,10 +18,9 @@
 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);
@@ -46,8 +45,8 @@
                 return a;
             } BOOST_LOCAL_FUNCTION_NAME(lt)
             lt();
- }*/
-/* { // Only plain binds.
+ }
+ { // Only plain binds.
             int c, d;
 
             int& BOOST_LOCAL_FUNCTION(bind c, bind& d,
@@ -66,7 +65,7 @@
                 return c;
             } BOOST_LOCAL_FUNCTION_NAME(lt)
             lt();
- }*/
+ }
 
         { // Both params and const binds.
             int a, b;

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-11 16:07:28 EDT (Fri, 11 May 2012)
@@ -13,7 +13,6 @@
 BOOST_TYPEOF_REGISTER_TYPE(s); // Register before bind `this_` below.
 
 // Compile all local function declaration combinations.
-/** @todo uncomment this stuff */
 struct s {
     void f(double p = 1.23, double q = -1.23) {
         { // Only params.
@@ -102,7 +101,7 @@
             } BOOST_LOCAL_FUNCTION_NAME(lt)
             lt(1);
         }
-/* { // Both const and plain binds.
+ { // Both const and plain binds.
             int a, b, c, d;
 
             void BOOST_LOCAL_FUNCTION( (const bind a) (const bind& b)
@@ -128,8 +127,8 @@
                     (const bind p) (bind c) (bind this_) (bind& d) (bind q) ) {
             } BOOST_LOCAL_FUNCTION_NAME(lpt)
             lpt();
- }*/
-/*
+ }
+
         { // All params, const binds, and plain binds.
             int a, b, c, d;
             
@@ -160,7 +159,7 @@
                     (int x) (int y)(default 0) ) {
             } BOOST_LOCAL_FUNCTION_NAME(lpt)
             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