Lines Matching refs:function

367 template<class> class function; // undefined
370 class function<R(ArgTypes...)>
380 function() noexcept;
381 function(nullptr_t) noexcept;
382 function(const function&);
383 function(function&&) noexcept;
385 function(F);
387 function(allocator_arg_t, const Alloc&) noexcept;
389 function(allocator_arg_t, const Alloc&, nullptr_t) noexcept;
391 function(allocator_arg_t, const Alloc&, const function&);
393 function(allocator_arg_t, const Alloc&, function&&);
395 function(allocator_arg_t, const Alloc&, F);
397 function& operator=(const function&);
398 function& operator=(function&&) noexcept;
399 function& operator=(nullptr_t) noexcept;
401 function& operator=(F&&);
403 function& operator=(reference_wrapper<F>) noexcept;
405 ~function();
407 // function modifiers:
408 void swap(function&) noexcept;
412 // function capacity:
415 // function invocation:
418 // function target access:
426 bool operator==(const function<R(ArgTypes...)>&, nullptr_t) noexcept;
429 bool operator==(nullptr_t, const function<R(ArgTypes...)>&) noexcept;
432 bool operator!=(const function<R(ArgTypes...)>&, nullptr_t) noexcept;
435 bool operator!=(nullptr_t, const function<R(ArgTypes...)>&) noexcept;
439 void swap(function<R(ArgTypes...)>&, function<R(ArgTypes...)>&) noexcept;
1245 template<class _Fp> class _LIBCPP_TYPE_VIS_ONLY function; // undefined
1396 class _LIBCPP_TYPE_VIS_ONLY function<_Rp(_ArgTypes...)>
1424 static bool __not_null(const function<_Rp(_Ap...)>& __p) {return __p;}
1426 template <class _Fp, bool = !is_same<_Fp, function>::value &&
1446 function() _NOEXCEPT : __f_(0) {}
1448 function(nullptr_t) _NOEXCEPT : __f_(0) {}
1449 function(const function&);
1450 function(function&&) _NOEXCEPT;
1452 function(_Fp, typename enable_if
1455 !is_same<_Fp, function>::value
1460 function(allocator_arg_t, const _Alloc&) _NOEXCEPT : __f_(0) {}
1463 function(allocator_arg_t, const _Alloc&, nullptr_t) _NOEXCEPT : __f_(0) {}
1465 function(allocator_arg_t, const _Alloc&, const function&);
1467 function(allocator_arg_t, const _Alloc&, function&&);
1469 function(allocator_arg_t, const _Alloc& __a, _Fp __f,
1472 function& operator=(const function&);
1473 function& operator=(function&&) _NOEXCEPT;
1474 function& operator=(nullptr_t) _NOEXCEPT;
1479 !is_same<typename remove_reference<_Fp>::type, function>::value,
1480 function&
1484 ~function();
1486 // function modifiers:
1487 void swap(function&) _NOEXCEPT;
1491 {function(allocator_arg, __a, _VSTD::forward<_Fp>(__f)).swap(*this);}
1493 // function capacity:
1499 bool operator==(const function<_R2(_ArgTypes2...)>&) const = delete;
1501 bool operator!=(const function<_R2(_ArgTypes2...)>&) const = delete;
1503 // function invocation:
1507 // function target access:
1515 function<_Rp(_ArgTypes...)>::function(const function& __f)
1530 function<_Rp(_ArgTypes...)>::function(allocator_arg_t, const _Alloc&,
1531 const function& __f)
1545 function<_Rp(_ArgTypes...)>::function(function&& __f) _NOEXCEPT
1563 function<_Rp(_ArgTypes...)>::function(allocator_arg_t, const _Alloc&,
1564 function&& __f)
1582 function<_Rp(_ArgTypes...)>::function(_Fp __f,
1586 !is_same<_Fp, function>::value
1612 function<_Rp(_ArgTypes...)>::function(allocator_arg_t, const _Alloc& __a0, _Fp __f,
1645 function<_Rp(_ArgTypes...)>&
1646 function<_Rp(_ArgTypes...)>::operator=(const function& __f)
1648 function(__f).swap(*this);
1653 function<_Rp(_ArgTypes...)>&
1654 function<_Rp(_ArgTypes...)>::operator=(function&& __f) _NOEXCEPT
1677 function<_Rp(_ArgTypes...)>&
1678 function<_Rp(_ArgTypes...)>::operator=(nullptr_t) _NOEXCEPT
1692 function<_Rp(_ArgTypes...)>::template __callable<typename decay<_Fp>::type>::value &&
1693 !is_same<typename remove_reference<_Fp>::type, function<_Rp(_ArgTypes...)>>::value,
1694 function<_Rp(_ArgTypes...)>&
1696 function<_Rp(_ArgTypes...)>::operator=(_Fp&& __f)
1698 function(_VSTD::forward<_Fp>(__f)).swap(*this);
1703 function<_Rp(_ArgTypes...)>::~function()
1713 function<_Rp(_ArgTypes...)>::swap(function& __f) _NOEXCEPT
1750 function<_Rp(_ArgTypes...)>::operator()(_ArgTypes... __arg) const
1763 function<_Rp(_ArgTypes...)>::target_type() const _NOEXCEPT
1773 function<_Rp(_ArgTypes...)>::target() _NOEXCEPT
1783 function<_Rp(_ArgTypes...)>::target() const _NOEXCEPT
1795 operator==(const function<_Rp(_ArgTypes...)>& __f, nullptr_t) _NOEXCEPT {return !__f;}
1800 operator==(nullptr_t, const function<_Rp(_ArgTypes...)>& __f) _NOEXCEPT {return !__f;}
1805 operator!=(const function<_Rp(_ArgTypes...)>& __f, nullptr_t) _NOEXCEPT {return (bool)__f;}
1810 operator!=(nullptr_t, const function<_Rp(_ArgTypes...)>& __f) _NOEXCEPT {return (bool)__f;}
1815 swap(function<_Rp(_ArgTypes...)>& __x, function<_Rp(_ArgTypes...)>& __y) _NOEXCEPT