Lines Matching refs:function
206 template<class _Fp> class _LIBCPP_TYPE_VIS_ONLY function; // undefined
647 class _LIBCPP_TYPE_VIS_ONLY function<_Rp()>
661 static bool __not_null(const function<_R2()>& __p) {return __p;}
666 _LIBCPP_INLINE_VISIBILITY explicit function() : __f_(0) {}
667 _LIBCPP_INLINE_VISIBILITY function(nullptr_t) : __f_(0) {}
668 function(const function&);
670 function(_Fp,
675 function(allocator_arg_t, const _Alloc&) : __f_(0) {}
678 function(allocator_arg_t, const _Alloc&, nullptr_t) : __f_(0) {}
680 function(allocator_arg_t, const _Alloc&, const function&);
682 function(allocator_arg_t, const _Alloc& __a, _Fp __f,
685 function& operator=(const function&);
686 function& operator=(nullptr_t);
691 function&
695 ~function();
697 // 20.7.16.2.2, function modifiers:
698 void swap(function&);
702 {function(allocator_arg, __a, __f).swap(*this);}
704 // 20.7.16.2.3, function capacity:
710 bool operator==(const function<_R2()>&) const;// = delete;
712 bool operator!=(const function<_R2()>&) const;// = delete;
714 // 20.7.16.2.4, function invocation:
718 // 20.7.16.2.5, function target access:
726 function<_Rp()>::function(const function& __f)
741 function<_Rp()>::function(allocator_arg_t, const _Alloc&, const function& __f)
756 function<_Rp()>::function(_Fp __f,
782 function<_Rp()>::function(allocator_arg_t, const _Alloc& __a0, _Fp __f,
814 function<_Rp()>&
815 function<_Rp()>::operator=(const function& __f)
817 function(__f).swap(*this);
822 function<_Rp()>&
823 function<_Rp()>::operator=(nullptr_t)
837 function<_Rp()>&
839 function<_Rp()>::operator=(_Fp __f)
841 function(_VSTD::move(__f)).swap(*this);
846 function<_Rp()>::~function()
856 function<_Rp()>::swap(function& __f)
893 function<_Rp()>::operator()() const
906 function<_Rp()>::target_type() const
916 function<_Rp()>::target()
926 function<_Rp()>::target() const
936 class _LIBCPP_TYPE_VIS_ONLY function<_Rp(_A0)>
963 static bool __not_null(const function<_R2(_B0)>& __p) {return __p;}
968 _LIBCPP_INLINE_VISIBILITY explicit function() : __f_(0) {}
969 _LIBCPP_INLINE_VISIBILITY function(nullptr_t) : __f_(0) {}
970 function(const function&);
972 function(_Fp,
977 function(allocator_arg_t, const _Alloc&) : __f_(0) {}
980 function(allocator_arg_t, const _Alloc&, nullptr_t) : __f_(0) {}
982 function(allocator_arg_t, const _Alloc&, const function&);
984 function(allocator_arg_t, const _Alloc& __a, _Fp __f,
987 function& operator=(const function&);
988 function& operator=(nullptr_t);
993 function&
997 ~function();
999 // 20.7.16.2.2, function modifiers:
1000 void swap(function&);
1004 {function(allocator_arg, __a, __f).swap(*this);}
1006 // 20.7.16.2.3, function capacity:
1012 bool operator==(const function<_R2(_B0)>&) const;// = delete;
1014 bool operator!=(const function<_R2(_B0)>&) const;// = delete;
1016 // 20.7.16.2.4, function invocation:
1020 // 20.7.16.2.5, function target access:
1028 function<_Rp(_A0)>::function(const function& __f)
1043 function<_Rp(_A0)>::function(allocator_arg_t, const _Alloc&, const function& __f)
1058 function<_Rp(_A0)>::function(_Fp __f,
1084 function<_Rp(_A0)>::function(allocator_arg_t, const _Alloc& __a0, _Fp __f,
1116 function<_Rp(_A0)>&
1117 function<_Rp(_A0)>::operator=(const function& __f)
1119 function(__f).swap(*this);
1124 function<_Rp(_A0)>&
1125 function<_Rp(_A0)>::operator=(nullptr_t)
1139 function<_Rp(_A0)>&
1141 function<_Rp(_A0)>::operator=(_Fp __f)
1143 function(_VSTD::move(__f)).swap(*this);
1148 function<_Rp(_A0)>::~function()
1158 function<_Rp(_A0)>::swap(function& __f)
1195 function<_Rp(_A0)>::operator()(_A0 __a0) const
1208 function<_Rp(_A0)>::target_type() const
1218 function<_Rp(_A0)>::target()
1228 function<_Rp(_A0)>::target() const
1238 class _LIBCPP_TYPE_VIS_ONLY function<_Rp(_A0, _A1)>
1265 static bool __not_null(const function<_R2(_B0, _B1)>& __p) {return __p;}
1270 _LIBCPP_INLINE_VISIBILITY explicit function() : __f_(0) {}
1271 _LIBCPP_INLINE_VISIBILITY function(nullptr_t) : __f_(0) {}
1272 function(const function&);
1274 function(_Fp,
1279 function(allocator_arg_t, const _Alloc&) : __f_(0) {}
1282 function(allocator_arg_t, const _Alloc&, nullptr_t) : __f_(0) {}
1284 function(allocator_arg_t, const _Alloc&, const function&);
1286 function(allocator_arg_t, const _Alloc& __a, _Fp __f,
1289 function& operator=(const function&);
1290 function& operator=(nullptr_t);
1295 function&
1299 ~function();
1301 // 20.7.16.2.2, function modifiers:
1302 void swap(function&);
1306 {function(allocator_arg, __a, __f).swap(*this);}
1308 // 20.7.16.2.3, function capacity:
1314 bool operator==(const function<_R2(_B0, _B1)>&) const;// = delete;
1316 bool operator!=(const function<_R2(_B0, _B1)>&) const;// = delete;
1318 // 20.7.16.2.4, function invocation:
1322 // 20.7.16.2.5, function target access:
1330 function<_Rp(_A0, _A1)>::function(const function& __f)
1345 function<_Rp(_A0, _A1)>::function(allocator_arg_t, const _Alloc&, const function& __f)
1360 function<_Rp(_A0, _A1)>::function(_Fp __f,
1386 function<_Rp(_A0, _A1)>::function(allocator_arg_t, const _Alloc& __a0, _Fp __f,
1418 function<_Rp(_A0, _A1)>&
1419 function<_Rp(_A0, _A1)>::operator=(const function& __f)
1421 function(__f).swap(*this);
1426 function<_Rp(_A0, _A1)>&
1427 function<_Rp(_A0, _A1)>::operator=(nullptr_t)
1441 function<_Rp(_A0, _A1)>&
1443 function<_Rp(_A0, _A1)>::operator=(_Fp __f)
1445 function(_VSTD::move(__f)).swap(*this);
1450 function<_Rp(_A0, _A1)>::~function()
1460 function<_Rp(_A0, _A1)>::swap(function& __f)
1497 function<_Rp(_A0, _A1)>::operator()(_A0 __a0, _A1 __a1) const
1510 function<_Rp(_A0, _A1)>::target_type() const
1520 function<_Rp(_A0, _A1)>::target()
1530 function<_Rp(_A0, _A1)>::target() const
1540 class _LIBCPP_TYPE_VIS_ONLY function<_Rp(_A0, _A1, _A2)>
1566 static bool __not_null(const function<_R2(_B0, _B1, _B2)>& __p) {return __p;}
1571 _LIBCPP_INLINE_VISIBILITY explicit function() : __f_(0) {}
1572 _LIBCPP_INLINE_VISIBILITY function(nullptr_t) : __f_(0) {}
1573 function(const function&);
1575 function(_Fp,
1580 function(allocator_arg_t, const _Alloc&) : __f_(0) {}
1583 function(allocator_arg_t, const _Alloc&, nullptr_t) : __f_(0) {}
1585 function(allocator_arg_t, const _Alloc&, const function&);
1587 function(allocator_arg_t, const _Alloc& __a, _Fp __f,
1590 function& operator=(const function&);
1591 function& operator=(nullptr_t);
1596 function&
1600 ~function();
1602 // 20.7.16.2.2, function modifiers:
1603 void swap(function&);
1607 {function(allocator_arg, __a, __f).swap(*this);}
1609 // 20.7.16.2.3, function capacity:
1615 bool operator==(const function<_R2(_B0, _B1, _B2)>&) const;// = delete;
1617 bool operator!=(const function<_R2(_B0, _B1, _B2)>&) const;// = delete;
1619 // 20.7.16.2.4, function invocation:
1623 // 20.7.16.2.5, function target access:
1631 function<_Rp(_A0, _A1, _A2)>::function(const function& __f)
1646 function<_Rp(_A0, _A1, _A2)>::function(allocator_arg_t, const _Alloc&,
1647 const function& __f)
1662 function<_Rp(_A0, _A1, _A2)>::function(_Fp __f,
1688 function<_Rp(_A0, _A1, _A2)>::function(allocator_arg_t, const _Alloc& __a0, _Fp __f,
1720 function<_Rp(_A0, _A1, _A2)>&
1721 function<_Rp(_A0, _A1, _A2)>::operator=(const function& __f)
1723 function(__f).swap(*this);
1728 function<_Rp(_A0, _A1, _A2)>&
1729 function<_Rp(_A0, _A1, _A2)>::operator=(nullptr_t)
1743 function<_Rp(_A0, _A1, _A2)>&
1745 function<_Rp(_A0, _A1, _A2)>::operator=(_Fp __f)
1747 function(_VSTD::move(__f)).swap(*this);
1752 function<_Rp(_A0, _A1, _A2)>::~function()
1762 function<_Rp(_A0, _A1, _A2)>::swap(function& __f)
1799 function<_Rp(_A0, _A1, _A2)>::operator()(_A0 __a0, _A1 __a1, _A2 __a2) const
1812 function<_Rp(_A0, _A1, _A2)>::target_type() const
1822 function<_Rp(_A0, _A1, _A2)>::target()
1832 function<_Rp(_A0, _A1, _A2)>::target() const
1844 operator==(const function<_Fp>& __f, nullptr_t) {return !__f;}
1849 operator==(nullptr_t, const function<_Fp>& __f) {return !__f;}
1854 operator!=(const function<_Fp>& __f, nullptr_t) {return (bool)__f;}
1859 operator!=(nullptr_t, const function<_Fp>& __f) {return (bool)__f;}
1864 swap(function<_Fp>& __x, function<_Fp>& __y)