[#ThreadPool-PackagedTask]
= xref:ThreadPool.adoc[ThreadPool]::PackagedTask
:relfileprefix: ../
:mrdocs:

Packaged&hyphen;task type wrapping a callable of type F for queuing&period;

== Synopsis

Declared in `&lt;util&sol;threadpool&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class F&gt;
using PackagedTask = std::packaged&lowbar;task&lt;std::invoke&lowbar;result&lowbar;t&lt;F&gt;()&gt;;
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
