|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r78219 - trunk/libs/local_function/test
From: lorcaminiti_at_[hidden]
Date: 2012-04-27 10:04:08
Author: lcaminiti
Date: 2012-04-27 10:04:05 EDT (Fri, 27 Apr 2012)
New Revision: 78219
URL: http://svn.boost.org/trac/boost/changeset/78219
Log:
Trying to identify 2 VACAPP internal errors.
Text files modified:
trunk/libs/local_function/test/all_decl_seq.cpp | 4 ++--
trunk/libs/local_function/test/same_line_seq.cpp | 2 +-
2 files changed, 3 insertions(+), 3 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-27 10:04:05 EDT (Fri, 27 Apr 2012)
@@ -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) ) {
@@ -159,7 +159,7 @@
(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);
}
}
};
Modified: trunk/libs/local_function/test/same_line_seq.cpp
==============================================================================
--- trunk/libs/local_function/test/same_line_seq.cpp (original)
+++ trunk/libs/local_function/test/same_line_seq.cpp 2012-04-27 10:04:05 EDT (Fri, 27 Apr 2012)
@@ -33,7 +33,7 @@
} BOOST_LOCAL_FUNCTION_NAME_TPL(dec)
template<typename T>
-void f(T const& delta) {
+void f(T delta) {
LOCAL_INC_DEC_TPL(delta) // Multiple local functions on same line.
/** @todo back to BOOST_TEST(dec(inc(123)) == 123)) and doc that on vacpp compiler composition doesn't work */
BOOST_TEST(inc(123) == 123 + delta);
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