A value wrapper that manually asserts the safe_alias level S.
Declared in <folly/lang/SafeAlias.h>
template<
safe_alias S,
typename T>
struct manual_safe_val_t;
| Name | Description |
|---|---|
folly_private_safe_alias_t | Reports the manually-asserted safety level S to safe_alias_of. |
type | The type of the wrapped value. |
| Name | Description |
|---|---|
manual_safe_val_t [constructor] | Constructors |
get | get overloads |
operator T& | Converts to a reference to the wrapped value. |
operator T&& | Converts to an rvalue reference to the wrapped value. |
operator T const& | Converts to a const reference to the wrapped value. |
| Name | Description |
|---|---|
manual_safe_val | Wraps a value, asserting the given safety level; see manual_safe_val_t. |