Lines Matching refs:function
448 class _LIBCPP_TYPE_VIS_ONLY function<_Rp()>
462 static bool __not_null(const function<_R2()>& __p) {return __p;}
467 _LIBCPP_INLINE_VISIBILITY explicit function() : __f_(0) {}
468 _LIBCPP_INLINE_VISIBILITY function(nullptr_t) : __f_(0) {}
469 function(const function&);
471 function(_Fp,
476 function(allocator_arg_t, const _Alloc&) : __f_(0) {}
479 function(allocator_arg_t, const _Alloc&, nullptr_t) : __f_(0) {}
481 function(allocator_arg_t, const _Alloc&, const function&);
483 function(allocator_arg_t, const _Alloc& __a, _Fp __f,
486 function& operator=(const function&);
487 function& operator=(nullptr_t);
492 function&
496 ~function();
498 // 20.7.16.2.2, function modifiers:
499 void swap(function&);
503 {function(allocator_arg, __a, __f).swap(*this);}
505 // 20.7.16.2.3, function capacity:
511 bool operator==(const function<_R2()>&) const;// = delete;
513 bool operator!=(const function<_R2()>&) const;// = delete;
515 // 20.7.16.2.4, function invocation:
519 // 20.7.16.2.5, function target access:
527 function<_Rp()>::function(const function& __f)
542 function<_Rp()>::function(allocator_arg_t, const _Alloc&, const function& __f)
557 function<_Rp()>::function(_Fp __f,
583 function<_Rp()>::function(allocator_arg_t, const _Alloc& __a0, _Fp __f,
609 function<_Rp()>&
610 function<_Rp()>::operator=(const function& __f)
612 function(__f).swap(*this);
617 function<_Rp()>&
618 function<_Rp()>::operator=(nullptr_t)
633 function<_Rp()>&
635 function<_Rp()>::operator=(_Fp __f)
637 function(_VSTD::move(__f)).swap(*this);
642 function<_Rp()>::~function()
652 function<_Rp()>::swap(function& __f)
689 function<_Rp()>::operator()() const
702 function<_Rp()>::target_type() const
712 function<_Rp()>::target()
722 function<_Rp()>::target() const
732 class _LIBCPP_TYPE_VIS_ONLY function<_Rp(_A0)>
759 static bool __not_null(const function<_R2(_B0)>& __p) {return __p;}
764 _LIBCPP_INLINE_VISIBILITY explicit function() : __f_(0) {}
765 _LIBCPP_INLINE_VISIBILITY function(nullptr_t) : __f_(0) {}
766 function(const function&);
768 function(_Fp,
773 function(allocator_arg_t, const _Alloc&) : __f_(0) {}
776 function(allocator_arg_t, const _Alloc&, nullptr_t) : __f_(0) {}
778 function(allocator_arg_t, const _Alloc&, const function&);
780 function(allocator_arg_t, const _Alloc& __a, _Fp __f,
783 function& operator=(const function&);
784 function& operator=(nullptr_t);
789 function&
793 ~function();
795 // 20.7.16.2.2, function modifiers:
796 void swap(function&);
800 {function(allocator_arg, __a, __f).swap(*this);}
802 // 20.7.16.2.3, function capacity:
808 bool operator==(const function<_R2(_B0)>&) const;// = delete;
810 bool operator!=(const function<_R2(_B0)>&) const;// = delete;
812 // 20.7.16.2.4, function invocation:
816 // 20.7.16.2.5, function target access:
824 function<_Rp(_A0)>::function(const function& __f)
839 function<_Rp(_A0)>::function(allocator_arg_t, const _Alloc&, const function& __f)
854 function<_Rp(_A0)>::function(_Fp __f,
880 function<_Rp(_A0)>::function(allocator_arg_t, const _Alloc& __a0, _Fp __f,
906 function<_Rp(_A0)>&
907 function<_Rp(_A0)>::operator=(const function& __f)
909 function(__f).swap(*this);
914 function<_Rp(_A0)>&
915 function<_Rp(_A0)>::operator=(nullptr_t)
930 function<_Rp(_A0)>&
932 function<_Rp(_A0)>::operator=(_Fp __f)
934 function(_VSTD::move(__f)).swap(*this);
939 function<_Rp(_A0)>::~function()
949 function<_Rp(_A0)>::swap(function& __f)
986 function<_Rp(_A0)>::operator()(_A0 __a0) const
999 function<_Rp(_A0)>::target_type() const
1009 function<_Rp(_A0)>::target()
1019 function<_Rp(_A0)>::target() const
1029 class _LIBCPP_TYPE_VIS_ONLY function<_Rp(_A0, _A1)>
1056 static bool __not_null(const function<_R2(_B0, _B1)>& __p) {return __p;}
1061 _LIBCPP_INLINE_VISIBILITY explicit function() : __f_(0) {}
1062 _LIBCPP_INLINE_VISIBILITY function(nullptr_t) : __f_(0) {}
1063 function(const function&);
1065 function(_Fp,
1070 function(allocator_arg_t, const _Alloc&) : __f_(0) {}
1073 function(allocator_arg_t, const _Alloc&, nullptr_t) : __f_(0) {}
1075 function(allocator_arg_t, const _Alloc&, const function&);
1077 function(allocator_arg_t, const _Alloc& __a, _Fp __f,
1080 function& operator=(const function&);
1081 function& operator=(nullptr_t);
1086 function&
1090 ~function();
1092 // 20.7.16.2.2, function modifiers:
1093 void swap(function&);
1097 {function(allocator_arg, __a, __f).swap(*this);}
1099 // 20.7.16.2.3, function capacity:
1105 bool operator==(const function<_R2(_B0, _B1)>&) const;// = delete;
1107 bool operator!=(const function<_R2(_B0, _B1)>&) const;// = delete;
1109 // 20.7.16.2.4, function invocation:
1113 // 20.7.16.2.5, function target access:
1121 function<_Rp(_A0, _A1)>::function(const function& __f)
1136 function<_Rp(_A0, _A1)>::function(allocator_arg_t, const _Alloc&, const function& __f)
1151 function<_Rp(_A0, _A1)>::function(_Fp __f,
1177 function<_Rp(_A0, _A1)>::function(allocator_arg_t, const _Alloc& __a0, _Fp __f,
1203 function<_Rp(_A0, _A1)>&
1204 function<_Rp(_A0, _A1)>::operator=(const function& __f)
1206 function(__f).swap(*this);
1211 function<_Rp(_A0, _A1)>&
1212 function<_Rp(_A0, _A1)>::operator=(nullptr_t)
1227 function<_Rp(_A0, _A1)>&
1229 function<_Rp(_A0, _A1)>::operator=(_Fp __f)
1231 function(_VSTD::move(__f)).swap(*this);
1236 function<_Rp(_A0, _A1)>::~function()
1246 function<_Rp(_A0, _A1)>::swap(function& __f)
1283 function<_Rp(_A0, _A1)>::operator()(_A0 __a0, _A1 __a1) const
1296 function<_Rp(_A0, _A1)>::target_type() const
1306 function<_Rp(_A0, _A1)>::target()
1316 function<_Rp(_A0, _A1)>::target() const
1326 class _LIBCPP_TYPE_VIS_ONLY function<_Rp(_A0, _A1, _A2)>
1352 static bool __not_null(const function<_R2(_B0, _B1, _B2)>& __p) {return __p;}
1357 _LIBCPP_INLINE_VISIBILITY explicit function() : __f_(0) {}
1358 _LIBCPP_INLINE_VISIBILITY function(nullptr_t) : __f_(0) {}
1359 function(const function&);
1361 function(_Fp,
1366 function(allocator_arg_t, const _Alloc&) : __f_(0) {}
1369 function(allocator_arg_t, const _Alloc&, nullptr_t) : __f_(0) {}
1371 function(allocator_arg_t, const _Alloc&, const function&);
1373 function(allocator_arg_t, const _Alloc& __a, _Fp __f,
1376 function& operator=(const function&);
1377 function& operator=(nullptr_t);
1382 function&
1386 ~function();
1388 // 20.7.16.2.2, function modifiers:
1389 void swap(function&);
1393 {function(allocator_arg, __a, __f).swap(*this);}
1395 // 20.7.16.2.3, function capacity:
1401 bool operator==(const function<_R2(_B0, _B1, _B2)>&) const;// = delete;
1403 bool operator!=(const function<_R2(_B0, _B1, _B2)>&) const;// = delete;
1405 // 20.7.16.2.4, function invocation:
1409 // 20.7.16.2.5, function target access:
1417 function<_Rp(_A0, _A1, _A2)>::function(const function& __f)
1432 function<_Rp(_A0, _A1, _A2)>::function(allocator_arg_t, const _Alloc&,
1433 const function& __f)
1448 function<_Rp(_A0, _A1, _A2)>::function(_Fp __f,
1474 function<_Rp(_A0, _A1, _A2)>::function(allocator_arg_t, const _Alloc& __a0, _Fp __f,
1500 function<_Rp(_A0, _A1, _A2)>&
1501 function<_Rp(_A0, _A1, _A2)>::operator=(const function& __f)
1503 function(__f).swap(*this);
1508 function<_Rp(_A0, _A1, _A2)>&
1509 function<_Rp(_A0, _A1, _A2)>::operator=(nullptr_t)
1524 function<_Rp(_A0, _A1, _A2)>&
1526 function<_Rp(_A0, _A1, _A2)>::operator=(_Fp __f)
1528 function(_VSTD::move(__f)).swap(*this);
1533 function<_Rp(_A0, _A1, _A2)>::~function()
1543 function<_Rp(_A0, _A1, _A2)>::swap(function& __f)
1580 function<_Rp(_A0, _A1, _A2)>::operator()(_A0 __a0, _A1 __a1, _A2 __a2) const
1593 function<_Rp(_A0, _A1, _A2)>::target_type() const
1603 function<_Rp(_A0, _A1, _A2)>::target()
1613 function<_Rp(_A0, _A1, _A2)>::target() const
1625 operator==(const function<_Fp>& __f, nullptr_t) {return !__f;}
1630 operator==(nullptr_t, const function<_Fp>& __f) {return !__f;}
1635 operator!=(const function<_Fp>& __f, nullptr_t) {return (bool)__f;}
1640 operator!=(nullptr_t, const function<_Fp>& __f) {return (bool)__f;}
1645 swap(function<_Fp>& __x, function<_Fp>& __y)