Conditionally tags a type as unsafe for async usage.

Synopsis

Declared in <folly/lang/Hint.h>

template<bool If>
struct unsafe_for_async_usage_if;

Description

Inheriting or having a member unsafe_for_async_usage_if will conditionally tag the type.

Specializations