|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r81527 - trunk/boost/coroutine/detail
From: oliver.kowalke_at_[hidden]
Date: 2012-11-25 07:11:31
Author: olli
Date: 2012-11-25 07:11:30 EST (Sun, 25 Nov 2012)
New Revision: 81527
URL: http://svn.boost.org/trac/boost/changeset/81527
Log:
coroutine: access tuple members via global get<>() (required for older compilers)
Text files modified:
trunk/boost/coroutine/detail/coroutine_object.hpp | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
Modified: trunk/boost/coroutine/detail/coroutine_object.hpp
==============================================================================
--- trunk/boost/coroutine/detail/coroutine_object.hpp (original)
+++ trunk/boost/coroutine/detail/coroutine_object.hpp 2012-11-25 07:11:30 EST (Sun, 25 Nov 2012)
@@ -53,8 +53,10 @@
holder< tuple< Context *, Arg > > * hldr(
reinterpret_cast< holder< tuple< Context *, Arg > > * >( vp) );
- Context * ctx( hldr->data.get().get< 0 >() );
- Arg arg( hldr->data.get().get< 1 >() );
+ Context * ctx( get< 0 >( hldr->data.get() ) );
+ Arg arg( get< 1 >( hldr->data.get() ) );
+// Context * ctx( hldr->data.get().get< 0 >() );
+// Arg arg( hldr->data.get().get< 1 >() );
ctx->run( hldr->ctx, arg);
}
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