mirror of
https://github.com/boostorg/coroutine2.git
synced 2025-05-11 21:44:03 +00:00
destructors are per default noexcept
This commit is contained in:
parent
f9dff912df
commit
1d68a9bd38
@ -47,7 +47,7 @@ public:
|
||||
template< typename StackAllocator, typename Fn >
|
||||
pull_coroutine( StackAllocator, Fn &&);
|
||||
|
||||
~pull_coroutine() noexcept;
|
||||
~pull_coroutine();
|
||||
|
||||
pull_coroutine( pull_coroutine const&) = delete;
|
||||
pull_coroutine & operator=( pull_coroutine const&) = delete;
|
||||
@ -159,7 +159,7 @@ public:
|
||||
template< typename StackAllocator, typename Fn >
|
||||
pull_coroutine( StackAllocator, Fn &&);
|
||||
|
||||
~pull_coroutine() noexcept;
|
||||
~pull_coroutine();
|
||||
|
||||
pull_coroutine( pull_coroutine const&) = delete;
|
||||
pull_coroutine & operator=( pull_coroutine const&) = delete;
|
||||
@ -269,7 +269,7 @@ public:
|
||||
template< typename StackAllocator, typename Fn >
|
||||
pull_coroutine( StackAllocator, Fn &&);
|
||||
|
||||
~pull_coroutine() noexcept;
|
||||
~pull_coroutine();
|
||||
|
||||
pull_coroutine( pull_coroutine const&) = delete;
|
||||
pull_coroutine & operator=( pull_coroutine const&) = delete;
|
||||
|
@ -59,7 +59,7 @@ pull_coroutine< T >::pull_coroutine( StackAllocator salloc, Fn && fn) :
|
||||
}
|
||||
|
||||
template< typename T >
|
||||
pull_coroutine< T >::~pull_coroutine() noexcept {
|
||||
pull_coroutine< T >::~pull_coroutine() {
|
||||
if ( nullptr != cb_) {
|
||||
cb_->deallocate();
|
||||
}
|
||||
@ -128,7 +128,7 @@ pull_coroutine< T & >::pull_coroutine( StackAllocator salloc, Fn && fn) :
|
||||
}
|
||||
|
||||
template< typename T >
|
||||
pull_coroutine< T & >::~pull_coroutine() noexcept {
|
||||
pull_coroutine< T & >::~pull_coroutine() {
|
||||
if ( nullptr != cb_) {
|
||||
cb_->deallocate();
|
||||
}
|
||||
@ -189,7 +189,7 @@ pull_coroutine< void >::pull_coroutine( StackAllocator salloc, Fn && fn) :
|
||||
}
|
||||
|
||||
inline
|
||||
pull_coroutine< void >::~pull_coroutine() noexcept {
|
||||
pull_coroutine< void >::~pull_coroutine() {
|
||||
if ( nullptr != cb_) {
|
||||
cb_->deallocate();
|
||||
}
|
||||
|
@ -45,7 +45,7 @@ public:
|
||||
template< typename StackAllocator, typename Fn >
|
||||
push_coroutine( StackAllocator, Fn &&);
|
||||
|
||||
~push_coroutine() noexcept;
|
||||
~push_coroutine();
|
||||
|
||||
push_coroutine( push_coroutine const&) = delete;
|
||||
push_coroutine & operator=( push_coroutine const&) = delete;
|
||||
@ -125,7 +125,7 @@ public:
|
||||
template< typename StackAllocator, typename Fn >
|
||||
push_coroutine( StackAllocator, Fn &&);
|
||||
|
||||
~push_coroutine() noexcept;
|
||||
~push_coroutine();
|
||||
|
||||
push_coroutine( push_coroutine const&) = delete;
|
||||
push_coroutine & operator=( push_coroutine const&) = delete;
|
||||
@ -203,7 +203,7 @@ public:
|
||||
template< typename StackAllocator, typename Fn >
|
||||
push_coroutine( StackAllocator, Fn &&);
|
||||
|
||||
~push_coroutine() noexcept;
|
||||
~push_coroutine();
|
||||
|
||||
push_coroutine( push_coroutine const&) = delete;
|
||||
push_coroutine & operator=( push_coroutine const&) = delete;
|
||||
|
@ -48,7 +48,7 @@ push_coroutine< T >::push_coroutine( StackAllocator salloc, Fn && fn) :
|
||||
}
|
||||
|
||||
template< typename T >
|
||||
push_coroutine< T >::~push_coroutine() noexcept {
|
||||
push_coroutine< T >::~push_coroutine() {
|
||||
if ( nullptr != cb_) {
|
||||
cb_->deallocate();
|
||||
}
|
||||
@ -108,7 +108,7 @@ push_coroutine< T & >::push_coroutine( StackAllocator salloc, Fn && fn) :
|
||||
}
|
||||
|
||||
template< typename T >
|
||||
push_coroutine< T & >::~push_coroutine() noexcept {
|
||||
push_coroutine< T & >::~push_coroutine() {
|
||||
if ( nullptr != cb_) {
|
||||
cb_->deallocate();
|
||||
}
|
||||
@ -159,7 +159,7 @@ push_coroutine< void >::push_coroutine( StackAllocator salloc, Fn && fn) :
|
||||
}
|
||||
|
||||
inline
|
||||
push_coroutine< void >::~push_coroutine() noexcept {
|
||||
push_coroutine< void >::~push_coroutine() {
|
||||
if ( nullptr != cb_) {
|
||||
cb_->deallocate();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user