folly::bind::const_ref

Binding modifier that binds a const reference to each argument.

Synopsis

Declared in <folly/lang/bind/Bind.h>

template<typename... Ts>
struct const_ref
    : ext::merge_update_args</* implementation-defined */, Ts...>

Base Classes

NameDescription
ext::merge_update_args</* implementation-defined */, Ts...>Concatenates several like_args lists, mapping each bind_info_t through BindInfoFn.

Type Aliases

NameDescription
binding_list_t The concatenated binding list with each bind_info_t mapped by BindInfoFn.

Member Functions

NameDescription
unsafe_tuple_to_bind Move out the concatenated tuple of bound values.

Using Declarations

Name
Unnamed using

Deduction Guides

NameDescription
const_ref<ext::deduce_args_t<Ts>...> Deduction guide for const_ref.