Home | History | Annotate | Download | only in include

Lines Matching full:_args

771 template <typename _T1, size_t _Idx, typename... _Args>
775 template <typename _T1, size_t _Idx, typename... _Args>
779 static_assert ( __find_exactly_one_t_helper<_T1, 0, _Args...>::value == -1, "type can only occur once in type list" );
788 template <typename _T1, size_t _Idx, typename _Head, typename... _Args>
789 struct __find_exactly_one_t_helper <_T1, _Idx, _Head, _Args...> {
793 __find_exactly_one_t_checker<_T1, _Idx, _Args...>,
794 __find_exactly_one_t_helper <_T1, _Idx+1, _Args...>
798 template <typename _T1, typename... _Args>
800 static constexpr size_t value = __find_exactly_one_t_helper<_T1, 0, _Args...>::value;
804 template <class _T1, class... _Args>
806 constexpr _T1& get(tuple<_Args...>& __tup) noexcept
808 return _VSTD::get<__find_exactly_one_t<_T1, _Args...>::value>(__tup);
811 template <class _T1, class... _Args>
813 constexpr _T1 const& get(tuple<_Args...> const& __tup) noexcept
815 return _VSTD::get<__find_exactly_one_t<_T1, _Args...>::value>(__tup);
818 template <class _T1, class... _Args>
820 constexpr _T1&& get(tuple<_Args...>&& __tup) noexcept
822 return _VSTD::get<__find_exactly_one_t<_T1, _Args...>::value>(_VSTD::move(__tup));