Lines Matching full:tuple
64 // Joins a vector of strings as if they are fields of a tuple; returns
380 // represented as a (pointer, size) tuple.
382 class StlContainerView< ::std::tuple<ElementPointer, Size> > {
391 const ::std::tuple<ElementPointer, Size>& array) { in ConstReference()
395 static type Copy(const ::std::tuple<ElementPointer, Size>& array) { in Copy()
423 template <typename F, typename Tuple, size_t... Idx>
424 auto ApplyImpl(F&& f, Tuple&& args, std::index_sequence<Idx...>)
426 std::get<Idx>(std::forward<Tuple>(args))...)) {
427 return std::forward<F>(f)(std::get<Idx>(std::forward<Tuple>(args))...);
430 // Apply the function to a tuple of arguments.
431 template <typename F, typename Tuple>
432 auto Apply(F&& f, Tuple&& args)
434 std::forward<F>(f), std::forward<Tuple>(args),
436 typename std::remove_reference<Tuple>::type>::value>())) {
437 return ApplyImpl(std::forward<F>(f), std::forward<Tuple>(args),
439 typename std::remove_reference<Tuple>::type>::value>());
447 // ArgumentTuple: the tuple type consisting of all parameters of F.
448 // ArgumentMatcherTuple: the tuple type consisting of Matchers for all
464 using ArgumentTuple = std::tuple<Args...>;
465 using ArgumentMatcherTuple = std::tuple<Matcher<Args>...>;