lunar (3) std::stop_callback.3cxx.gz

Provided by: libstdc++-13-doc_13-20230320-1ubuntu1_all bug

NAME

       std::stop_callback< _Callback > - A wrapper for callbacks to be run when a stop request is
       made.

SYNOPSIS

   Public Types
       using callback_type = _Callback

   Public Member Functions
       stop_callback (const stop_callback &)=delete
       template<typename _Cb , enable_if_t< is_constructible_v< _Callback, _Cb >, int >  = 0>
           stop_callback (const stop_token &__token, _Cb &&__cb)
           noexcept(is_nothrow_constructible_v< _Callback, _Cb >)
       stop_callback (stop_callback &&)=delete
       template<typename _Cb , enable_if_t< is_constructible_v< _Callback, _Cb >, int >  = 0>
           stop_callback (stop_token &&__token, _Cb &&__cb) noexcept(is_nothrow_constructible_v<
           _Callback, _Cb >)
       stop_callback & operator= (const stop_callback &)=delete
       stop_callback & operator= (stop_callback &&)=delete

Detailed Description

   template<typename _Callback>
       class std::stop_callback< _Callback >"A wrapper for callbacks to be run when a stop
       request is made.

       Definition at line 573 of file stop_token.

Member Typedef Documentation

   template<typename _Callback > using std::stop_callback< _Callback >::callback_type =
       _Callback
       Definition at line 579 of file stop_token.

Constructor & Destructor Documentation

   template<typename _Callback > template<typename _Cb , enable_if_t< is_constructible_v<
       _Callback, _Cb >, int >  = 0> std::stop_callback< _Callback >::stop_callback (const
       stop_token & __token, _Cb && __cb) [inline],  [explicit],  [noexcept]
       Definition at line 584 of file stop_token.

   template<typename _Callback > template<typename _Cb , enable_if_t< is_constructible_v<
       _Callback, _Cb >, int >  = 0> std::stop_callback< _Callback >::stop_callback (stop_token
       && __token, _Cb && __cb) [inline],  [explicit],  [noexcept]
       Definition at line 598 of file stop_token.

   template<typename _Callback > std::stop_callback< _Callback >::~stop_callback () [inline]
       Definition at line 609 of file stop_token.

Author

       Generated automatically by Doxygen for libstdc++ from the source code.