|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r80633 - sandbox/variadic_templates/sandbox/slim/test
From: cppljevans_at_[hidden]
Date: 2012-09-22 13:34:08
Author: cppljevans
Date: 2012-09-22 13:34:07 EDT (Sat, 22 Sep 2012)
New Revision: 80633
URL: http://svn.boost.org/trac/boost/changeset/80633
Log:
Minor changes.
Also, I thought I deleted slim because of updates
made by Christopher; however, I don't see any mention
of those below. I've no idea why(svn novice).
Text files modified:
sandbox/variadic_templates/sandbox/slim/test/tuple.benchmark.cpp | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
Modified: sandbox/variadic_templates/sandbox/slim/test/tuple.benchmark.cpp
==============================================================================
--- sandbox/variadic_templates/sandbox/slim/test/tuple.benchmark.cpp (original)
+++ sandbox/variadic_templates/sandbox/slim/test/tuple.benchmark.cpp 2012-09-22 13:34:07 EDT (Sat, 22 Sep 2012)
@@ -17,10 +17,10 @@
// and date:
// 01/12/2009
// )
- #define TUPLE_SIZE 16
+ #define TUPLE_SIZE 4
//^size of the tuple used.
//Also, the number of at_test calls in test_row<I,J>::exec.
- #define LAST_LESS 16
+ #define LAST_LESS 2
//^determines number of instantiations of test_col and test_row.
#define VALU_AT
//^Decides whether value of tuple elements is retrieved
@@ -203,5 +203,10 @@
// test_row<I>::exec()
//for I=0...LAST_COL
std::cout<<"value="<<value<<"\n";
+ #if defined(BOOST_NO_VARIADIC_TEMPLATES)
+ std::cout<<"BOOST_NOT_VARIADIC_TEMPLATES\n";
+ #else
+ std::cout<<"BOOST_YES_VARIADIC_TEMPLATES\n";
+ #endif
return value==0;
}
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