Namespaces
Variants
Actions

deduction guides for std::stop_callback

From cppreference.com
< cpp‎ | thread‎ | stop callback
 
 
Concurrency support library
(C++11)
(C++20)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++17)
(C++11)
(C++11)
(C++17)
(C++11)
(C++14)
(C++11)
(C++11)
(C++11)
(C++11)
(C++20)
(C++20)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++26)
(C++26)
(C++26)
(C++26)
(C++11)
(C++20)
(C++11)
(C++11)(deprecated in C++20)
(C++11)(deprecated in C++20)
(C++11)
(C++11)(deprecated in C++26)
 
 
Defined in header <stop_token>
template< class Callback >
stop_callback( std::stop_token, Callback ) -> stop_callback<Callback>;
(since C++20)

One deduction guide is provided for std::stop_callback to permit deduction from argument of invocable types.

[edit] Example

This section is incomplete
Reason: no example
Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/thread/stop_callback/deduction_guides&oldid=161245"

AltStyle によって変換されたページ (->オリジナル) /