Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85980 - trunk/libs/coroutine/doc
From: oliver.kowalke_at_[hidden]
Date: 2013-09-28 11:20:50


Author: olli
Date: 2013-09-28 11:20:50 EDT (Sat, 28 Sep 2013)
New Revision: 85980
URL: http://svn.boost.org/trac/boost/changeset/85980

Log:
coroutine: fix documentation

Text files modified:
   trunk/libs/coroutine/doc/attributes.qbk | 68 ++++++++++------------------------------
   1 files changed, 17 insertions(+), 51 deletions(-)

Modified: trunk/libs/coroutine/doc/attributes.qbk
==============================================================================
--- trunk/libs/coroutine/doc/attributes.qbk Sat Sep 28 11:00:26 2013 (r85979)
+++ trunk/libs/coroutine/doc/attributes.qbk 2013-09-28 11:20:50 EDT (Sat, 28 Sep 2013) (r85980)
@@ -14,55 +14,21 @@
         {
             std::size_t size;
             flag_unwind_t do_unwind;
- bool preserve_fpu;
+ flag_fpu_t preserve_fpu;
 
- attributes() BOOST_NOEXCEPT :
- size( ctx::default_stacksize() ),
- do_unwind( stack_unwind),
- preserve_fpu( true)
- {}
-
- explicit attributes( std::size_t size_) BOOST_NOEXCEPT :
- size( size_),
- do_unwind( stack_unwind),
- preserve_fpu( true)
- {}
-
- explicit attributes( flag_unwind_t do_unwind_) BOOST_NOEXCEPT :
- size( ctx::default_stacksize() ),
- do_unwind( do_unwind_),
- preserve_fpu( true)
- {}
-
- explicit attributes( bool preserve_fpu_) BOOST_NOEXCEPT :
- size( ctx::default_stacksize() ),
- do_unwind( stack_unwind),
- preserve_fpu( preserve_fpu_)
- {}
-
- explicit attributes(
- std::size_t size_,
- flag_unwind_t do_unwind_) BOOST_NOEXCEPT :
- size( size_),
- do_unwind( do_unwind_),
- preserve_fpu( true)
- {}
-
- explicit attributes(
- std::size_t size_,
- bool preserve_fpu_) BOOST_NOEXCEPT :
- size( size_),
- do_unwind( stack_unwind),
- preserve_fpu( preserve_fpu_)
- {}
-
- explicit attributes(
- flag_unwind_t do_unwind_,
- bool preserve_fpu_) BOOST_NOEXCEPT :
- size( ctx::default_stacksize() ),
- do_unwind( do_unwind_),
- preserve_fpu( preserve_fpu_)
- {}
+ attributes() BOOST_NOEXCEPT;
+
+ explicit attributes( std::size_t size_) BOOST_NOEXCEPT;
+
+ explicit attributes( flag_unwind_t do_unwind_) BOOST_NOEXCEPT;
+
+ explicit attributes( flag_fpu_t preserve_fpu_) BOOST_NOEXCEPT;
+
+ explicit attributes( std::size_t size_, flag_unwind_t do_unwind_) BOOST_NOEXCEPT;
+
+ explicit attributes( std::size_t size_, flag_fpu_t preserve_fpu_) BOOST_NOEXCEPT;
+
+ explicit attributes( flag_unwind_t do_unwind_, flag_fpu_t preserve_fpu_) BOOST_NOEXCEPT;
         };
 
 [heading `attributes()`]
@@ -88,7 +54,7 @@
 [[Throws:] [Nothing.]]
 ]
 
-[heading `attributes( bool preserve_fpu)`]
+[heading `attributes( flag_fpu_t preserve_fpu)`]
 [variablelist
 [[Effects:] [Argument `preserve_fpu` determines if FPU register have to be
 preserved if a `context` switches. THe default stacksize is used for the
@@ -103,14 +69,14 @@
 [[Throws:] [Nothing.]]
 ]
 
-[heading `attributes( std::size_t size, bool preserve_fpu)`]
+[heading `attributes( std::size_t size, flag_fpu_t preserve_fpu)`]
 [variablelist
 [[Effects:] [Arguments `size` and `preserve_fpu` are given by the user.
 The stack is automatically unwound after coroutine/generator terminates.]]
 [[Throws:] [Nothing.]]
 ]
 
-[heading `attributes( flag_unwind_t do_unwind, bool preserve_fpu)`]
+[heading `attributes( flag_unwind_t do_unwind, flag_fpu_t preserve_fpu)`]
 [variablelist
 [[Effects:] [Arguments `do_unwind` and `preserve_fpu` are given by the user.
 The stack gets a default value of `ctx::default_stacksize()`.]]


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