Lines Matching refs:tuple
64 // Joins a vector of strings as if they are fields of a tuple; returns
460 // represented as a (pointer, size) tuple.
462 class StlContainerView< ::std::tuple<ElementPointer, Size> > {
470 const ::std::tuple<ElementPointer, Size>& array) {
474 static type Copy(const ::std::tuple<ElementPointer, Size>& array) {
517 template <typename F, typename Tuple, size_t... Idx>
518 auto ApplyImpl(F&& f, Tuple&& args, int_pack<Idx...>) -> decltype(
519 std::forward<F>(f)(std::get<Idx>(std::forward<Tuple>(args))...)) {
520 return std::forward<F>(f)(std::get<Idx>(std::forward<Tuple>(args))...);
523 // Apply the function to a tuple of arguments.
524 template <typename F, typename Tuple>
525 auto Apply(F&& f, Tuple&& args)
526 -> decltype(ApplyImpl(std::forward<F>(f), std::forward<Tuple>(args),
527 make_int_pack<std::tuple_size<Tuple>::value>())) {
528 return ApplyImpl(std::forward<F>(f), std::forward<Tuple>(args),
529 make_int_pack<std::tuple_size<Tuple>::value>());
537 // ArgumentTuple: the tuple type consisting of all parameters of F.
538 // ArgumentMatcherTuple: the tuple type consisting of Matchers for all
555 using ArgumentTuple = std::tuple<Args...>;
556 using ArgumentMatcherTuple = std::tuple<Matcher<Args>...>;