Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r82578 - branches/release/libs/coroutine/doc
From: oliver.kowalke_at_[hidden]
Date: 2013-01-21 04:19:03


Author: olli
Date: 2013-01-21 04:18:57 EST (Mon, 21 Jan 2013)
New Revision: 82578
URL: http://svn.boost.org/trac/boost/changeset/82578

Log:
coroutine: merge from trunk (documentation)

Properties modified:
   branches/release/libs/coroutine/doc/ (props changed)
Text files modified:
   branches/release/libs/coroutine/doc/coroutine.qbk | 11 +++++++++++
   1 files changed, 11 insertions(+), 0 deletions(-)

Modified: branches/release/libs/coroutine/doc/coroutine.qbk
==============================================================================
--- branches/release/libs/coroutine/doc/coroutine.qbk (original)
+++ branches/release/libs/coroutine/doc/coroutine.qbk 2013-01-21 04:18:57 EST (Mon, 21 Jan 2013)
@@ -36,6 +36,7 @@
 
         typedef boost::coroutines::coroutine< int( std::string const&) > coro_t;
 
+ // void f( boost::coroutine< std::string const&( int) > & ca)
         void f( coro_t::caller_type & ca)
         {
             ...
@@ -64,6 +65,7 @@
 
         typedef boost::coroutines::coroutine< int( std::string const&) > coro_t;
 
+ // void f( boost::coroutine< std::string const&( int) > & ca)
         void f( coro_t::caller_type & ca);
 
         std::string str("abc");
@@ -74,6 +76,7 @@
 
         typedef boost::coroutines::coroutine< int( int, std::string const&) > coro_t;
 
+ // void f( boost::coroutine< boost::tuple< int, std::string const& >( int) > & ca)
         void f( coro_t::caller_type & ca);
 
         std::string str("abc");
@@ -199,6 +202,7 @@
 
         typedef boost::coroutines::coroutine< int( int) > coro_t;
 
+ // void fn( boost::coroutines::coroutine< int( int) > & ca)
         void fn( coro_t::caller_type & ca)
         {
             // access the integer argument given to coroutine ctor
@@ -251,6 +255,7 @@
 
         typedef boost::coroutines::coroutine< int(int,int) > coro_t;
 
+ // void fn( boost::coroutines::coroutine< boost::tuple< int, int >( int) > & ca)
         void fn( coro_t::caller_type & ca)
         {
             int a, b;
@@ -297,6 +302,7 @@
 
         typedef boost::coroutines::coroutine< X*() > coro_t;
 
+ // void fn( boost::coroutines::coroutine< void( X*) > & ca)
         void fn( coro_t::caller_t & ca) {
             X local;
             ca( & local);
@@ -322,6 +328,7 @@
         typedef boost::coroutines::coroutine< int() > coro_t;
         typedef boost::range_iterator< coro_t >::type iterator_t;
 
+ // void power( boost::coroutines::coroutine< void( int) > & ca, int number, int exponent)
         void power( coro_t::caller_type & ca, int number, int exponent)
         {
             int counter = 0;
@@ -354,6 +361,7 @@
         typedef boost::coroutines::coroutine< int() > coro_t;
         typedef boost::range_iterator< coro_t >::type iterator_t;
 
+ // void power( boost::coroutines::coroutine< void( int) > & ca, int number, int exponent)
         void power( coro_t::caller_type & ca, int number, int exponent)
         {
             int counter = 0;
@@ -392,6 +400,7 @@
 
         typedef boost::coroutines::coroutine< int(int,int) > coro_t;
 
+ // void power( boost::coroutines::coroutine< boost::tuple< int, int >( int) > & ca, int number, int exponent)
         void fn( coro_t::caller_type & ca)
         {
             int a, b;
@@ -436,6 +445,7 @@
 
         typedef boost::coroutines::coroutine< void() > coro_t;
 
+ // void fn( boost::coroutines::coroutine< void() > & ca)
         void fn( coro_t::caller_type & ca)
         {
             ca();
@@ -511,6 +521,7 @@
             { std::cout << "~X()" << std::endl; }
         };
 
+ // void fn( boost::coroutines::coroutine< void() > & ca)
         void fn( coro_t::caller_type & ca)
         {
             X x;


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