proxygen
folly::emplace_args< Args > Struct Template Reference

#include <Iterator.h>

Inheritance diagram for folly::emplace_args< Args >:

Public Types

using storage_type = std::tuple< std::decay_t< Args >... >
 

Detailed Description

template<typename... Args>
struct folly::emplace_args< Args >

Argument tuple for variadic emplace/constructor calls. Stores arguments by (decayed) value. Restores original argument types with reference qualifiers and adornments at unpack time to emulate perfect forwarding.

Uses inheritance instead of a type alias to std::tuple so that emplace iterators with implicit unpacking disabled can distinguish between emplace_args and std::tuple parameters.

folly::make_emplace_args folly::get_emplace_arg

Definition at line 44 of file Iterator.h.

Member Typedef Documentation

template<typename... Args>
using folly::emplace_args< Args >::storage_type = std::tuple<std::decay_t<Args>...>

The documentation for this struct was generated from the following file: