A callable wrapper that manually asserts the safe_alias level S.

Synopsis

Declared in <folly/lang/SafeAlias.h>

template<
    safe_alias S,
    typename Fn>
class manual_safe_callable_t;

Type Aliases

Name

Description

folly_private_safe_alias_t

Reports the manually‐asserted safety level S to safe_alias_of.

Member Functions

Name

Description

manual_safe_callable_t [constructor]

Constructs the wrapper by moving the given callable.

operator()

Function call operators

Non-Member Functions

Name

Description

manual_safe_callable

Wraps a callable, asserting the given safety level; see manual_safe_callable_t.

Created with MrDocs