Lines Matching refs:function

62 template<class _Fp> class _LIBCPP_DEPRECATED_CXX03_FUNCTION _LIBCPP_TEMPLATE_VIS function; // undef…  variable
103 bool __not_null(function<_Fp> const& __f) { return !!__f; }
944 class _LIBCPP_TEMPLATE_VIS function<_Rp(_ArgTypes...)>
959 _IsNotSame<__uncvref_t<_Fp>, function>,
983 function() _NOEXCEPT { }
985 function(nullptr_t) _NOEXCEPT {}
986 function(const function&);
987 function(function&&) _NOEXCEPT;
989 function(_Fp);
994 function(allocator_arg_t, const _Alloc&) _NOEXCEPT {}
997 function(allocator_arg_t, const _Alloc&, nullptr_t) _NOEXCEPT {}
999 function(allocator_arg_t, const _Alloc&, const function&);
1001 function(allocator_arg_t, const _Alloc&, function&&);
1003 function(allocator_arg_t, const _Alloc& __a, _Fp __f);
1006 function& operator=(const function&);
1007 function& operator=(function&&) _NOEXCEPT;
1008 function& operator=(nullptr_t) _NOEXCEPT;
1010 function& operator=(_Fp&&);
1012 ~function();
1015 void swap(function&) _NOEXCEPT;
1021 {function(allocator_arg, __a, _VSTD::forward<_Fp>(__f)).swap(*this);}
1032 bool operator==(const function<_R2(_ArgTypes2...)>&) const = delete;
1034 bool operator!=(const function<_R2(_ArgTypes2...)>&) const = delete;
1049 function(_Rp(*)(_Ap...)) -> function<_Rp(_Ap...)>;
1091 function(_Fp) -> function<_Stripped>;
1095 function<_Rp(_ArgTypes...)>::function(const function& __f) : __f_(__f.__f_) {}
1100 function<_Rp(_ArgTypes...)>::function(allocator_arg_t, const _Alloc&,
1101 const function& __f) : __f_(__f.__f_) {}
1105 function<_Rp(_ArgTypes...)>::function(function&& __f) _NOEXCEPT
1111 function<_Rp(_ArgTypes...)>::function(allocator_arg_t, const _Alloc&,
1112 function&& __f)
1118 function<_Rp(_ArgTypes...)>::function(_Fp __f) : __f_(_VSTD::move(__f)) {}
1123 function<_Rp(_ArgTypes...)>::function(allocator_arg_t, const _Alloc& __a,
1129 function<_Rp(_ArgTypes...)>&
1130 function<_Rp(_ArgTypes...)>::operator=(const function& __f)
1132 function(__f).swap(*this);
1137 function<_Rp(_ArgTypes...)>&
1138 function<_Rp(_ArgTypes...)>::operator=(function&& __f) _NOEXCEPT
1145 function<_Rp(_ArgTypes...)>&
1146 function<_Rp(_ArgTypes...)>::operator=(nullptr_t) _NOEXCEPT
1154 function<_Rp(_ArgTypes...)>&
1155 function<_Rp(_ArgTypes...)>::operator=(_Fp&& __f)
1157 function(_VSTD::forward<_Fp>(__f)).swap(*this);
1162 function<_Rp(_ArgTypes...)>::~function() {}
1166 function<_Rp(_ArgTypes...)>::swap(function& __f) _NOEXCEPT
1173 function<_Rp(_ArgTypes...)>::operator()(_ArgTypes... __arg) const
1182 function<_Rp(_ArgTypes...)>::target_type() const _NOEXCEPT
1190 function<_Rp(_ArgTypes...)>::target() _NOEXCEPT
1198 function<_Rp(_ArgTypes...)>::target() const _NOEXCEPT
1208 operator==(const function<_Rp(_ArgTypes...)>& __f, nullptr_t) _NOEXCEPT {return !__f;}
1213 operator==(nullptr_t, const function<_Rp(_ArgTypes...)>& __f) _NOEXCEPT {return !__f;}
1218 operator!=(const function<_Rp(_ArgTypes...)>& __f, nullptr_t) _NOEXCEPT {return (bool)__f;}
1223 operator!=(nullptr_t, const function<_Rp(_ArgTypes...)>& __f) _NOEXCEPT {return (bool)__f;}
1228 swap(function<_Rp(_ArgTypes...)>& __x, function<_Rp(_ArgTypes...)>& __y) _NOEXCEPT
1661 class _LIBCPP_TEMPLATE_VIS function<_Rp()>
1671 _LIBCPP_INLINE_VISIBILITY explicit function() : __f_(0) {}
1672 _LIBCPP_INLINE_VISIBILITY function(nullptr_t) : __f_(0) {}
1673 function(const function&);
1675 function(_Fp,
1680 function(allocator_arg_t, const _Alloc&) : __f_(0) {}
1683 function(allocator_arg_t, const _Alloc&, nullptr_t) : __f_(0) {}
1685 function(allocator_arg_t, const _Alloc&, const function&);
1687 function(allocator_arg_t, const _Alloc& __a, _Fp __f,
1690 function& operator=(const function&);
1691 function& operator=(nullptr_t);
1696 function&
1700 ~function();
1703 void swap(function&);
1707 {function(allocator_arg, __a, __f).swap(*this);}
1715 bool operator==(const function<_R2()>&) const;// = delete;
1717 bool operator!=(const function<_R2()>&) const;// = delete;
1731 function<_Rp()>::function(const function& __f)
1746 function<_Rp()>::function(allocator_arg_t, const _Alloc&, const function& __f)
1761 function<_Rp()>::function(_Fp __f,
1787 function<_Rp()>::function(allocator_arg_t, const _Alloc& __a0, _Fp __f,
1813 function<_Rp()>&
1814 function<_Rp()>::operator=(const function& __f)
1817 function(__f).swap(*this);
1824 function<_Rp()>&
1825 function<_Rp()>::operator=(nullptr_t)
1841 function<_Rp()>&
1843 function<_Rp()>::operator=(_Fp __f)
1845 function(_VSTD::move(__f)).swap(*this);
1850 function<_Rp()>::~function()
1860 function<_Rp()>::swap(function& __f)
1899 function<_Rp()>::operator()() const
1910 function<_Rp()>::target_type() const
1920 function<_Rp()>::target()
1930 function<_Rp()>::target() const
1940 class _LIBCPP_TEMPLATE_VIS function<_Rp(_A0)>
1951 _LIBCPP_INLINE_VISIBILITY explicit function() : __f_(0) {}
1952 _LIBCPP_INLINE_VISIBILITY function(nullptr_t) : __f_(0) {}
1953 function(const function&);
1955 function(_Fp,
1960 function(allocator_arg_t, const _Alloc&) : __f_(0) {}
1963 function(allocator_arg_t, const _Alloc&, nullptr_t) : __f_(0) {}
1965 function(allocator_arg_t, const _Alloc&, const function&);
1967 function(allocator_arg_t, const _Alloc& __a, _Fp __f,
1970 function& operator=(const function&);
1971 function& operator=(nullptr_t);
1976 function&
1980 ~function();
1983 void swap(function&);
1987 {function(allocator_arg, __a, __f).swap(*this);}
1995 bool operator==(const function<_R2(_B0)>&) const;// = delete;
1997 bool operator!=(const function<_R2(_B0)>&) const;// = delete;
2011 function<_Rp(_A0)>::function(const function& __f)
2026 function<_Rp(_A0)>::function(allocator_arg_t, const _Alloc&, const function& __f)
2041 function<_Rp(_A0)>::function(_Fp __f,
2067 function<_Rp(_A0)>::function(allocator_arg_t, const _Alloc& __a0, _Fp __f,
2093 function<_Rp(_A0)>&
2094 function<_Rp(_A0)>::operator=(const function& __f)
2097 function(__f).swap(*this);
2104 function<_Rp(_A0)>&
2105 function<_Rp(_A0)>::operator=(nullptr_t)
2121 function<_Rp(_A0)>&
2123 function<_Rp(_A0)>::operator=(_Fp __f)
2125 function(_VSTD::move(__f)).swap(*this);
2130 function<_Rp(_A0)>::~function()
2140 function<_Rp(_A0)>::swap(function& __f)
2179 function<_Rp(_A0)>::operator()(_A0 __a0) const
2190 function<_Rp(_A0)>::target_type() const
2200 function<_Rp(_A0)>::target()
2210 function<_Rp(_A0)>::target() const
2220 class _LIBCPP_TEMPLATE_VIS function<_Rp(_A0, _A1)>
2231 _LIBCPP_INLINE_VISIBILITY explicit function() : __f_(0) {}
2232 _LIBCPP_INLINE_VISIBILITY function(nullptr_t) : __f_(0) {}
2233 function(const function&);
2235 function(_Fp,
2240 function(allocator_arg_t, const _Alloc&) : __f_(0) {}
2243 function(allocator_arg_t, const _Alloc&, nullptr_t) : __f_(0) {}
2245 function(allocator_arg_t, const _Alloc&, const function&);
2247 function(allocator_arg_t, const _Alloc& __a, _Fp __f,
2250 function& operator=(const function&);
2251 function& operator=(nullptr_t);
2256 function&
2260 ~function();
2263 void swap(function&);
2267 {function(allocator_arg, __a, __f).swap(*this);}
2275 bool operator==(const function<_R2(_B0, _B1)>&) const;// = delete;
2277 bool operator!=(const function<_R2(_B0, _B1)>&) const;// = delete;
2291 function<_Rp(_A0, _A1)>::function(const function& __f)
2306 function<_Rp(_A0, _A1)>::function(allocator_arg_t, const _Alloc&, const function& __f)
2321 function<_Rp(_A0, _A1)>::function(_Fp __f,
2347 function<_Rp(_A0, _A1)>::function(allocator_arg_t, const _Alloc& __a0, _Fp __f,
2373 function<_Rp(_A0, _A1)>&
2374 function<_Rp(_A0, _A1)>::operator=(const function& __f)
2377 function(__f).swap(*this);
2384 function<_Rp(_A0, _A1)>&
2385 function<_Rp(_A0, _A1)>::operator=(nullptr_t)
2401 function<_Rp(_A0, _A1)>&
2403 function<_Rp(_A0, _A1)>::operator=(_Fp __f)
2405 function(_VSTD::move(__f)).swap(*this);
2410 function<_Rp(_A0, _A1)>::~function()
2420 function<_Rp(_A0, _A1)>::swap(function& __f)
2459 function<_Rp(_A0, _A1)>::operator()(_A0 __a0, _A1 __a1) const
2470 function<_Rp(_A0, _A1)>::target_type() const
2480 function<_Rp(_A0, _A1)>::target()
2490 function<_Rp(_A0, _A1)>::target() const
2500 class _LIBCPP_TEMPLATE_VIS function<_Rp(_A0, _A1, _A2)>
2510 _LIBCPP_INLINE_VISIBILITY explicit function() : __f_(0) {}
2511 _LIBCPP_INLINE_VISIBILITY function(nullptr_t) : __f_(0) {}
2512 function(const function&);
2514 function(_Fp,
2519 function(allocator_arg_t, const _Alloc&) : __f_(0) {}
2522 function(allocator_arg_t, const _Alloc&, nullptr_t) : __f_(0) {}
2524 function(allocator_arg_t, const _Alloc&, const function&);
2526 function(allocator_arg_t, const _Alloc& __a, _Fp __f,
2529 function& operator=(const function&);
2530 function& operator=(nullptr_t);
2535 function&
2539 ~function();
2542 void swap(function&);
2546 {function(allocator_arg, __a, __f).swap(*this);}
2554 bool operator==(const function<_R2(_B0, _B1, _B2)>&) const;// = delete;
2556 bool operator!=(const function<_R2(_B0, _B1, _B2)>&) const;// = delete;
2570 function<_Rp(_A0, _A1, _A2)>::function(const function& __f)
2585 function<_Rp(_A0, _A1, _A2)>::function(allocator_arg_t, const _Alloc&,
2586 const function& __f)
2601 function<_Rp(_A0, _A1, _A2)>::function(_Fp __f,
2627 function<_Rp(_A0, _A1, _A2)>::function(allocator_arg_t, const _Alloc& __a0, _Fp __f,
2653 function<_Rp(_A0, _A1, _A2)>&
2654 function<_Rp(_A0, _A1, _A2)>::operator=(const function& __f)
2657 function(__f).swap(*this);
2664 function<_Rp(_A0, _A1, _A2)>&
2665 function<_Rp(_A0, _A1, _A2)>::operator=(nullptr_t)
2681 function<_Rp(_A0, _A1, _A2)>&
2683 function<_Rp(_A0, _A1, _A2)>::operator=(_Fp __f)
2685 function(_VSTD::move(__f)).swap(*this);
2690 function<_Rp(_A0, _A1, _A2)>::~function()
2700 function<_Rp(_A0, _A1, _A2)>::swap(function& __f)
2739 function<_Rp(_A0, _A1, _A2)>::operator()(_A0 __a0, _A1 __a1, _A2 __a2) const
2750 function<_Rp(_A0, _A1, _A2)>::target_type() const
2760 function<_Rp(_A0, _A1, _A2)>::target()
2770 function<_Rp(_A0, _A1, _A2)>::target() const
2782 operator==(const function<_Fp>& __f, nullptr_t) {return !__f;}
2787 operator==(nullptr_t, const function<_Fp>& __f) {return !__f;}
2792 operator!=(const function<_Fp>& __f, nullptr_t) {return (bool)__f;}
2797 operator!=(nullptr_t, const function<_Fp>& __f) {return (bool)__f;}
2802 swap(function<_Fp>& __x, function<_Fp>& __y)