diff --git a/boost/coroutine/asymmetric_coroutine.hpp b/boost/coroutine/asymmetric_coroutine.hpp
index 38ad3ab..08e271c 100644
a
|
b
|
private:
|
341 | 341 | { BOOST_ASSERT( impl_); } |
342 | 342 | |
343 | 343 | public: |
344 | | push_coroutine() BOOST_NOEXCEPT : |
| 344 | inline push_coroutine() BOOST_NOEXCEPT : |
345 | 345 | impl_( 0) |
346 | 346 | {} |
347 | 347 | |
… |
… |
public:
|
349 | 349 | # ifdef BOOST_MSVC |
350 | 350 | typedef void ( * coroutine_fn)( pull_coroutine< void > &); |
351 | 351 | |
352 | | explicit push_coroutine( coroutine_fn, |
353 | | attributes const& = attributes() ); |
| 352 | inline explicit push_coroutine( coroutine_fn, |
| 353 | attributes const& = attributes() ); |
354 | 354 | |
355 | 355 | template< typename StackAllocator > |
356 | 356 | explicit push_coroutine( coroutine_fn, |
… |
… |
public:
|
394 | 394 | } |
395 | 395 | } |
396 | 396 | |
397 | | push_coroutine( BOOST_RV_REF( push_coroutine) other) BOOST_NOEXCEPT : |
| 397 | inline push_coroutine( BOOST_RV_REF( push_coroutine) other) BOOST_NOEXCEPT : |
398 | 398 | impl_( 0) |
399 | 399 | { swap( other); } |
400 | 400 | |
401 | | push_coroutine & operator=( BOOST_RV_REF( push_coroutine) other) BOOST_NOEXCEPT |
| 401 | inline push_coroutine & operator=( BOOST_RV_REF( push_coroutine) other) BOOST_NOEXCEPT |
402 | 402 | { |
403 | 403 | push_coroutine tmp( boost::move( other) ); |
404 | 404 | swap( tmp); |
… |
… |
public:
|
407 | 407 | |
408 | 408 | BOOST_EXPLICIT_OPERATOR_BOOL(); |
409 | 409 | |
410 | | bool operator!() const BOOST_NOEXCEPT |
| 410 | inline bool operator!() const BOOST_NOEXCEPT |
411 | 411 | { return 0 == impl_ || impl_->is_complete(); } |
412 | 412 | |
413 | | void swap( push_coroutine & other) BOOST_NOEXCEPT |
| 413 | inline void swap( push_coroutine & other) BOOST_NOEXCEPT |
414 | 414 | { std::swap( impl_, other.impl_); } |
415 | 415 | |
416 | | push_coroutine & operator()() |
| 416 | inline push_coroutine & operator()() |
417 | 417 | { |
418 | 418 | BOOST_ASSERT( * this); |
419 | 419 | |
… |
… |
push_coroutine< Arg & >::push_coroutine( coroutine_fn fn,
|
1609 | 1609 | BOOST_ASSERT( impl_); |
1610 | 1610 | } |
1611 | 1611 | |
1612 | | push_coroutine< void >::push_coroutine( coroutine_fn fn, |
1613 | | attributes const& attrs) : |
| 1612 | inline push_coroutine< void >::push_coroutine( coroutine_fn fn, |
| 1613 | attributes const& attrs) : |
1614 | 1614 | impl_( 0) |
1615 | 1615 | { |
1616 | 1616 | // create a stack-context |