destructors are per default noexcept

This commit is contained in:
Oliver Kowalke 2016-10-07 18:11:24 +02:00
parent f9dff912df
commit 1d68a9bd38
4 changed files with 12 additions and 12 deletions

View File

@ -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;

View File

@ -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();
}

View File

@ -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;

View File

@ -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();
}