|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r64723 - sandbox/metagraph/libs/metagraph/example
From: gordon_at_[hidden]
Date: 2010-08-10 04:20:00
Author: gordon.woodhull
Date: 2010-08-10 04:19:50 EDT (Tue, 10 Aug 2010)
New Revision: 64723
URL: http://svn.boost.org/trac/boost/changeset/64723
Log:
comment
Text files modified:
sandbox/metagraph/libs/metagraph/example/proto_adaptor.cpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
Modified: sandbox/metagraph/libs/metagraph/example/proto_adaptor.cpp
==============================================================================
--- sandbox/metagraph/libs/metagraph/example/proto_adaptor.cpp (original)
+++ sandbox/metagraph/libs/metagraph/example/proto_adaptor.cpp 2010-08-10 04:19:50 EDT (Tue, 10 Aug 2010)
@@ -127,6 +127,8 @@
typedef BOOST_TYPEOF(_1*12/_2) expr_type;
typedef proto_preorder_dfs<expr_type>::type pre_expr_travs;
+// print a nice error message showing that the traversal worked.
+// will show the preorder traversal *in reverse order*, because push_back is lazy
BOOST_MPL_ASSERT(( mpl::equal<pre_expr_travs, void > ));
int main()
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