mirror of
https://github.com/boostorg/coroutine2.git
synced 2025-05-11 05: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 {
|
struct pull_coroutine< void >::control_block {
|
||||||
typename push_coroutine< void >::control_block * other;
|
push_coroutine< void >::control_block * other;
|
||||||
boost::context::execution_context caller;
|
boost::context::execution_context caller;
|
||||||
boost::context::execution_context callee;
|
boost::context::execution_context callee;
|
||||||
bool preserve_fpu;
|
bool preserve_fpu;
|
||||||
int state;
|
int state;
|
||||||
std::exception_ptr except;
|
std::exception_ptr except;
|
||||||
|
|
||||||
template< typename StackAllocator, typename Fn >
|
template< typename StackAllocator, typename Fn >
|
||||||
control_block( context::preallocated, StackAllocator, rref< Fn >, bool);
|
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();
|
~control_block();
|
||||||
|
|
||||||
|
@ -212,7 +212,7 @@ pull_coroutine< void >::control_block::control_block( context::preallocated pall
|
|||||||
}
|
}
|
||||||
|
|
||||||
inline
|
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),
|
other( cb),
|
||||||
caller( other->callee),
|
caller( other->callee),
|
||||||
callee( other->caller),
|
callee( other->caller),
|
||||||
|
@ -75,17 +75,17 @@ struct push_coroutine< T & >::control_block {
|
|||||||
};
|
};
|
||||||
|
|
||||||
struct push_coroutine< void >::control_block {
|
struct push_coroutine< void >::control_block {
|
||||||
typename pull_coroutine< void >::control_block * other;
|
pull_coroutine< void >::control_block * other;
|
||||||
boost::context::execution_context caller;
|
boost::context::execution_context caller;
|
||||||
boost::context::execution_context callee;
|
boost::context::execution_context callee;
|
||||||
bool preserve_fpu;
|
bool preserve_fpu;
|
||||||
int state;
|
int state;
|
||||||
std::exception_ptr except;
|
std::exception_ptr except;
|
||||||
|
|
||||||
template< typename StackAllocator, typename Fn >
|
template< typename StackAllocator, typename Fn >
|
||||||
control_block( context::preallocated, StackAllocator, rref< Fn >, bool);
|
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();
|
~control_block();
|
||||||
|
|
||||||
|
@ -238,7 +238,7 @@ push_coroutine< void >::control_block::control_block( context::preallocated pall
|
|||||||
}
|
}
|
||||||
|
|
||||||
inline
|
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),
|
other( cb),
|
||||||
caller( other->callee),
|
caller( other->callee),
|
||||||
callee( other->caller),
|
callee( other->caller),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user