[#std-coroutine_traits-0f]
= xref:std.adoc[std]::coroutine&lowbar;traits&lt;xref:folly/coro/safe_task.adoc[folly::coro::safe&lowbar;task&lt;ArgSafety, T&gt;], Args&period;&period;&period;&gt;
:relfileprefix: ../
:mrdocs:

Coroutine traits selecting the promise type for a `safe&lowbar;task` coroutine&period;

== Synopsis

Declared in `&lt;folly&sol;coro&sol;safe&sol;SafeTask&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    xref:folly/safe_alias.adoc[folly::safe&lowbar;alias] ArgSafety,
    typename T,
    typename&period;&period;&period; Args&gt;
struct coroutine&lowbar;traits&lt;xref:folly/coro/safe_task.adoc[folly::coro::safe&lowbar;task&lt;ArgSafety, T&gt;], Args&period;&period;&period;&gt;;
----

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:std/coroutine_traits-0f/promise_type.adoc[`promise&lowbar;type`] 
| The promise type driving a `safe&lowbar;task` coroutine&period;
|===



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