Lines Matching refs:function

78 template<class _Fp> class _LIBCPP_TEMPLATE_VIS function; // undefined  variable
119 bool __not_null(function<_Fp> const& __f) { return !!__f; }
966 class _LIBCPP_TEMPLATE_VIS function<_Rp(_ArgTypes...)>
979 _IsNotSame<__remove_cvref_t<_Fp>, function>,
1003 function() _NOEXCEPT { }
1005 function(nullptr_t) _NOEXCEPT {}
1006 function(const function&);
1007 function(function&&) _NOEXCEPT;
1009 function(_Fp);
1014 function(allocator_arg_t, const _Alloc&) _NOEXCEPT {}
1017 function(allocator_arg_t, const _Alloc&, nullptr_t) _NOEXCEPT {}
1019 function(allocator_arg_t, const _Alloc&, const function&);
1021 function(allocator_arg_t, const _Alloc&, function&&);
1023 function(allocator_arg_t, const _Alloc& __a, _Fp __f);
1026 function& operator=(const function&);
1027 function& operator=(function&&) _NOEXCEPT;
1028 function& operator=(nullptr_t) _NOEXCEPT;
1030 function& operator=(_Fp&&);
1032 ~function();
1035 void swap(function&) _NOEXCEPT;
1041 {function(allocator_arg, __a, _VSTD::forward<_Fp>(__f)).swap(*this);}
1052 bool operator==(const function<_R2(_ArgTypes2...)>&) const = delete;
1054 bool operator!=(const function<_R2(_ArgTypes2...)>&) const = delete;
1069 function(_Rp(*)(_Ap...)) -> function<_Rp(_Ap...)>;
1072 function(_Fp) -> function<_Stripped>;
1076 function<_Rp(_ArgTypes...)>::function(const function& __f) : __f_(__f.__f_) {}
1081 function<_Rp(_ArgTypes...)>::function(allocator_arg_t, const _Alloc&,
1082 const function& __f) : __f_(__f.__f_) {}
1086 function<_Rp(_ArgTypes...)>::function(function&& __f) _NOEXCEPT
1092 function<_Rp(_ArgTypes...)>::function(allocator_arg_t, const _Alloc&,
1093 function&& __f)
1099 function<_Rp(_ArgTypes...)>::function(_Fp __f) : __f_(_VSTD::move(__f)) {}
1104 function<_Rp(_ArgTypes...)>::function(allocator_arg_t, const _Alloc& __a,
1110 function<_Rp(_ArgTypes...)>&
1111 function<_Rp(_ArgTypes...)>::operator=(const function& __f)
1113 function(__f).swap(*this);
1118 function<_Rp(_ArgTypes...)>&
1119 function<_Rp(_ArgTypes...)>::operator=(function&& __f) _NOEXCEPT
1126 function<_Rp(_ArgTypes...)>&
1127 function<_Rp(_ArgTypes...)>::operator=(nullptr_t) _NOEXCEPT
1135 function<_Rp(_ArgTypes...)>&
1136 function<_Rp(_ArgTypes...)>::operator=(_Fp&& __f)
1138 function(_VSTD::forward<_Fp>(__f)).swap(*this);
1143 function<_Rp(_ArgTypes...)>::~function() {}
1147 function<_Rp(_ArgTypes...)>::swap(function& __f) _NOEXCEPT
1154 function<_Rp(_ArgTypes...)>::operator()(_ArgTypes... __arg) const
1163 function<_Rp(_ArgTypes...)>::target_type() const _NOEXCEPT
1171 function<_Rp(_ArgTypes...)>::target() _NOEXCEPT
1179 function<_Rp(_ArgTypes...)>::target() const _NOEXCEPT
1189 operator==(const function<_Rp(_ArgTypes...)>& __f, nullptr_t) _NOEXCEPT {return !__f;}
1194 operator==(nullptr_t, const function<_Rp(_ArgTypes...)>& __f) _NOEXCEPT {return !__f;}
1199 operator!=(const function<_Rp(_ArgTypes...)>& __f, nullptr_t) _NOEXCEPT {return (bool)__f;}
1204 operator!=(nullptr_t, const function<_Rp(_ArgTypes...)>& __f) _NOEXCEPT {return (bool)__f;}
1209 swap(function<_Rp(_ArgTypes...)>& __x, function<_Rp(_ArgTypes...)>& __y) _NOEXCEPT