Lines Matching refs:function

113    *  Base class for any function object that has a weak result type, as
122 /// Retrieve the result type for a function type.
129 /// Retrieve the result type for a function reference.
136 /// Retrieve the result type for a function pointer.
143 /// Retrieve result type for a member function pointer.
150 /// Retrieve result type for a const member function pointer.
157 /// Retrieve result type for a volatile member function pointer.
164 /// Retrieve result type for a const volatile member function pointer.
172 * Strip top-level cv-qualifiers from the function object and let
187 * the function object's member template result to extract the
250 // that fails when _Tp is a function type.
266 // that fails when _Tp is a function type.
273 /// Turns a function type into a function pointer type
287 * Invoke a function object, which may be either a member pointer or a
288 * function object. The first parameter will tell which.
316 // To pick up function references (that will become function pointers)
385 // - a function type (unary)
391 // - a function type (binary)
397 // - a function pointer type (unary)
403 // - a function pointer type (binary)
409 // - a pointer to member function type (unary, no qualifiers)
415 // - a pointer to member function type (binary, no qualifiers)
421 // - a pointer to member function type (unary, const)
427 // - a pointer to member function type (binary, const)
433 // - a pointer to member function type (unary, volatile)
439 // - a pointer to member function type (binary, volatile)
445 // - a pointer to member function type (unary, const volatile)
451 // - a pointer to member function type (binary, const volatile)
462 // If _Tp is a function type, we can't form result_of<_Tp(...)>,
463 // so turn it into a function pointer type.
555 /// Implementation of @c mem_fn for member function pointers.
598 /// Implementation of @c mem_fn for const member function pointers.
641 /// Implementation of @c mem_fn for volatile member function pointers.
685 /// Implementation of @c mem_fn for const volatile member function pointers.
823 * @brief Returns a function object that forwards to the member
834 * @brief Determines if the given type _Tp is a function object
836 * function objects returned by bind(). [TR1 3.6.1]
993 * function object [TR1 3.6.3/5]. Only the first parameter should
995 * implementations. Note that, although this class is a function
1029 * function object with the same cv-qualifiers as we are given and
1057 // Invokes the underlying function object __arg by unpacking all
1070 * a reference to the Nth argument to the bind function object.
1127 * other function objects untouched. Used by tr1::bind(). The
1142 * other function objects untouched. Used by tr1::bind(). This
1155 /// Type of the function object returned from bind().
1273 /// Type of the function object returned from bind<R>().
1496 * @brief Exception class thrown when class template function's
1504 * pointer to this type. It is used by the function template to
1575 // Converts a reference to a function object into a callable
1576 // function object.
1593 class function;
1595 /// Base class of all polymorphic function object wrappers.
1614 // Retrieve a pointer to the function object
1624 // Clone a location-invariant function object that fits within
1632 // Clone a function object that is not location-invariant or
1689 _M_not_empty_function(const function<_Signature>& __f)
1886 /// class function
1888 class function<_Res(_ArgTypes...)>
1913 * @brief Default construct creates an empty function call wrapper.
1916 function() : _Function_base() { }
1919 * @brief Default construct creates an empty function call wrapper.
1922 function(_M_clear_type*) : _Function_base() { }
1926 * @param x A %function object with identical call signature.
1929 * The newly-created %function contains a copy of the target of @a
1932 function(const function& __x);
1935 * @brief Builds a %function that targets a copy of the incoming
1936 * function object.
1937 * @param f A %function object that is callable with parameters of
1941 * The newly-created %function object will target a copy of @a
1942 * f. If @a f is @c reference_wrapper<F>, then this function
1943 * object will contain a reference to the function object @c
1944 * f.get(). If @a f is a NULL function pointer or NULL
1947 * If @a f is a non-NULL function pointer or an object of type @c
1948 * reference_wrapper<F>, this function will not throw.
1951 function(_Functor __f,
1958 * @param x A %function with identical call signature.
1965 * If @a x targets a function pointer or a reference to a function
1968 function&
1969 operator=(const function& __x)
1971 function(__x).swap(*this);
1982 function&
1996 * @param f A %function object that is callable with parameters of
2001 * This %function object wrapper will target a copy of @a
2002 * f. If @a f is @c reference_wrapper<F>, then this function
2003 * object will contain a reference to the function object @c
2004 * f.get(). If @a f is a NULL function pointer or NULL
2007 * If @a f is a non-NULL function pointer or an object of type @c
2008 * reference_wrapper<F>, this function will not throw.
2012 function&>::__type
2015 function(__f).swap(*this);
2019 // [3.7.2.2] function modifiers
2022 * @brief Swap the targets of two %function objects.
2023 * @param f A %function with identical call signature.
2025 * Swap the targets of @c this function object and @a f. This
2026 * function will not throw an %exception.
2028 void swap(function& __x)
2035 // [3.7.2.3] function capacity
2038 * @brief Determine if the %function wrapper has a target.
2040 * @return @c true when this %function object contains a target,
2043 * This function will not throw an %exception.
2058 // [3.7.2.4] function invocation
2061 * @brief Invokes the function targeted by @c *this.
2065 * The function call operator invokes the target function object
2071 // [3.7.2.5] function target access
2073 * @brief Determine the type of the target of this function object
2076 * @returns the type identifier of the target function object, or
2079 * This function will not throw an %exception.
2084 * @brief Access the stored target function object.
2086 * @return Returns a pointer to the stored target function object,
2090 * This function will not throw an %exception.
2101 void operator==(const function<_Function>&) const;
2103 void operator!=(const function<_Function>&) const;
2110 function<_Res(_ArgTypes...)>::
2111 function(const function& __x)
2124 function<_Res(_ArgTypes...)>::
2125 function(_Functor __f,
2142 function<_Res(_ArgTypes...)>::
2159 function<_Res(_ArgTypes...)>::
2175 function<_Res(_ArgTypes...)>::
2194 function<_Res(_ArgTypes...)>::
2211 * @brief Compares a polymorphic function object wrapper against 0
2215 * This function will not throw an %exception.
2219 operator==(const function<_Signature>& __f, _M_clear_type*)
2225 operator==(_M_clear_type*, const function<_Signature>& __f)
2229 * @brief Compares a polymorphic function object wrapper against 0
2233 * This function will not throw an %exception.
2237 operator!=(const function<_Signature>& __f, _M_clear_type*)
2243 operator!=(_M_clear_type*, const function<_Signature>& __f)
2249 * @brief Swap the targets of two polymorphic function object wrappers.
2251 * This function will not throw an %exception.
2255 swap(function<_Signature>& __x, function<_Signature>& __y)