From 720d5fa0377bb2efda230499a67f9500160e9398 Mon Sep 17 00:00:00 2001 From: Oliver Kowalke Date: Mon, 18 Feb 2013 15:50:07 +0000 Subject: [PATCH] coroutine: fix for#8024 for C++11 too [SVN r82974] --- include/boost/coroutine/coroutine.hpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/include/boost/coroutine/coroutine.hpp b/include/boost/coroutine/coroutine.hpp index 2a325dd..07bcccc 100644 --- a/include/boost/coroutine/coroutine.hpp +++ b/include/boost/coroutine/coroutine.hpp @@ -1398,6 +1398,18 @@ typename coroutine< Signature >::iterator end( coroutine< Signature > & c) { return boost::end( c); } +template< typename Signature > +inline +typename coroutine< Signature >::const_iterator +begin( coroutine< Signature > const& c) +{ return boost::const_begin( c); } + +template< typename Signature > +inline +typename coroutine< Signature >::const_iterator +end( coroutine< Signature > const& c) +{ return boost::const_end( c); } + } template< typename Signature >