sandbox
Loading...
Searching...
No Matches
sbx::assets::thread_pool Class Referencefinal

Public Member Functions

 thread_pool (const std::size_t size=std::thread::hardware_concurrency())
 
 thread_pool (const thread_pool &)=delete
 
 thread_pool (thread_pool &&)=delete
 
auto operator= (const thread_pool &) -> thread_pool &=delete
 
auto operator= (thread_pool &&) -> thread_pool &=delete
 
template<typename Function , typename... Args>
requires (std::is_invocable_v<Function, Args...>)
auto submit (Function &&function, Args &&... args) -> std::future< std::invoke_result_t< Function, Args... > >
 

The documentation for this class was generated from the following file: