mirror of
https://github.com/boostorg/coroutine2.git
synced 2025-05-09 23:24:01 +00:00
remove typedef in void-specializations
This commit is contained in:
parent
2eb694583f
commit
c37afa91ca
@ -71,17 +71,17 @@ struct pull_coroutine< T & >::control_block {
|
||||
};
|
||||
|
||||
struct pull_coroutine< void >::control_block {
|
||||
typename push_coroutine< void >::control_block * other;
|
||||
boost::context::execution_context caller;
|
||||
boost::context::execution_context callee;
|
||||
bool preserve_fpu;
|
||||
int state;
|
||||
std::exception_ptr except;
|
||||
push_coroutine< void >::control_block * other;
|
||||
boost::context::execution_context caller;
|
||||
boost::context::execution_context callee;
|
||||
bool preserve_fpu;
|
||||
int state;
|
||||
std::exception_ptr except;
|
||||
|
||||
template< typename StackAllocator, typename Fn >
|
||||
control_block( context::preallocated, StackAllocator, rref< Fn >, bool);
|
||||
|
||||
explicit control_block( typename push_coroutine< void >::control_block *);
|
||||
explicit control_block( push_coroutine< void >::control_block *);
|
||||
|
||||
~control_block();
|
||||
|
||||
|
@ -212,7 +212,7 @@ pull_coroutine< void >::control_block::control_block( context::preallocated pall
|
||||
}
|
||||
|
||||
inline
|
||||
pull_coroutine< void >::control_block::control_block( typename push_coroutine< void >::control_block * cb) :
|
||||
pull_coroutine< void >::control_block::control_block( push_coroutine< void >::control_block * cb) :
|
||||
other( cb),
|
||||
caller( other->callee),
|
||||
callee( other->caller),
|
||||
|
@ -75,17 +75,17 @@ struct push_coroutine< T & >::control_block {
|
||||
};
|
||||
|
||||
struct push_coroutine< void >::control_block {
|
||||
typename pull_coroutine< void >::control_block * other;
|
||||
boost::context::execution_context caller;
|
||||
boost::context::execution_context callee;
|
||||
bool preserve_fpu;
|
||||
int state;
|
||||
std::exception_ptr except;
|
||||
pull_coroutine< void >::control_block * other;
|
||||
boost::context::execution_context caller;
|
||||
boost::context::execution_context callee;
|
||||
bool preserve_fpu;
|
||||
int state;
|
||||
std::exception_ptr except;
|
||||
|
||||
template< typename StackAllocator, typename Fn >
|
||||
control_block( context::preallocated, StackAllocator, rref< Fn >, bool);
|
||||
|
||||
explicit control_block( typename pull_coroutine< void >::control_block *);
|
||||
explicit control_block( pull_coroutine< void >::control_block *);
|
||||
|
||||
~control_block();
|
||||
|
||||
|
@ -238,7 +238,7 @@ push_coroutine< void >::control_block::control_block( context::preallocated pall
|
||||
}
|
||||
|
||||
inline
|
||||
push_coroutine< void >::control_block::control_block( typename pull_coroutine< void >::control_block * cb) :
|
||||
push_coroutine< void >::control_block::control_block( pull_coroutine< void >::control_block * cb) :
|
||||
other( cb),
|
||||
caller( other->callee),
|
||||
callee( other->caller),
|
||||
|
Loading…
x
Reference in New Issue
Block a user