Lines Matching refs:_Tp

186 template <class _Tp, bool = is_trivially_destructible<_Tp>::value>
190 typedef _Tp value_type;
244 template <class _Tp>
245 class __optional_storage<_Tp, true>
248 typedef _Tp value_type;
295 template <class _Tp>
297 : private __optional_storage<_Tp>
299 typedef __optional_storage<_Tp> __base;
301 typedef _Tp value_type;
574 template <class _Tp>
578 operator==(const optional<_Tp>& __x, const optional<_Tp>& __y)
587 template <class _Tp>
591 operator!=(const optional<_Tp>& __x, const optional<_Tp>& __y)
596 template <class _Tp>
600 operator<(const optional<_Tp>& __x, const optional<_Tp>& __y)
609 template <class _Tp>
613 operator>(const optional<_Tp>& __x, const optional<_Tp>& __y)
618 template <class _Tp>
622 operator<=(const optional<_Tp>& __x, const optional<_Tp>& __y)
627 template <class _Tp>
631 operator>=(const optional<_Tp>& __x, const optional<_Tp>& __y)
638 template <class _Tp>
642 operator==(const optional<_Tp>& __x, nullopt_t) noexcept
647 template <class _Tp>
651 operator==(nullopt_t, const optional<_Tp>& __x) noexcept
656 template <class _Tp>
660 operator!=(const optional<_Tp>& __x, nullopt_t) noexcept
665 template <class _Tp>
669 operator!=(nullopt_t, const optional<_Tp>& __x) noexcept
674 template <class _Tp>
678 operator<(const optional<_Tp>&, nullopt_t) noexcept
683 template <class _Tp>
687 operator<(nullopt_t, const optional<_Tp>& __x) noexcept
692 template <class _Tp>
696 operator<=(const optional<_Tp>& __x, nullopt_t) noexcept
701 template <class _Tp>
705 operator<=(nullopt_t, const optional<_Tp>& __x) noexcept
710 template <class _Tp>
714 operator>(const optional<_Tp>& __x, nullopt_t) noexcept
719 template <class _Tp>
723 operator>(nullopt_t, const optional<_Tp>& __x) noexcept
728 template <class _Tp>
732 operator>=(const optional<_Tp>&, nullopt_t) noexcept
737 template <class _Tp>
741 operator>=(nullopt_t, const optional<_Tp>& __x) noexcept
747 template <class _Tp>
751 operator==(const optional<_Tp>& __x, const _Tp& __v)
756 template <class _Tp>
760 operator==(const _Tp& __v, const optional<_Tp>& __x)
765 template <class _Tp>
769 operator!=(const optional<_Tp>& __x, const _Tp& __v)
774 template <class _Tp>
778 operator!=(const _Tp& __v, const optional<_Tp>& __x)
783 template <class _Tp>
787 operator<(const optional<_Tp>& __x, const _Tp& __v)
789 return static_cast<bool>(__x) ? less<_Tp>{}(*__x, __v) : true;
792 template <class _Tp>
796 operator<(const _Tp& __v, const optional<_Tp>& __x)
798 return static_cast<bool>(__x) ? less<_Tp>{}(__v, *__x) : false;
801 template <class _Tp>
805 operator<=(const optional<_Tp>& __x, const _Tp& __v)
810 template <class _Tp>
814 operator<=(const _Tp& __v, const optional<_Tp>& __x)
819 template <class _Tp>
823 operator>(const optional<_Tp>& __x, const _Tp& __v)
828 template <class _Tp>
832 operator>(const _Tp& __v, const optional<_Tp>& __x)
837 template <class _Tp>
841 operator>=(const optional<_Tp>& __x, const _Tp& __v)
846 template <class _Tp>
850 operator>=(const _Tp& __v, const optional<_Tp>& __x)
856 template <class _Tp>
859 swap(optional<_Tp>& __x, optional<_Tp>& __y) noexcept(noexcept(__x.swap(__y)))
864 template <class _Tp>
867 optional<typename decay<_Tp>::type>
868 make_optional(_Tp&& __v)
870 return optional<typename decay<_Tp>::type>(_VSTD::forward<_Tp>(__v));
877 template <class _Tp>
878 struct _LIBCPP_TYPE_VIS_ONLY hash<std::experimental::optional<_Tp> >
880 typedef std::experimental::optional<_Tp> argument_type;
886 return static_cast<bool>(__opt) ? hash<_Tp>()(*__opt) : 0;