Lines Matching refs:function

109    *  Base class for any function object that has a weak result type, as
118 /// Retrieve the result type for a function type.
125 /// Retrieve the result type for a function reference.
132 /// Retrieve the result type for a function pointer.
139 /// Retrieve result type for a member function pointer.
146 /// Retrieve result type for a const member function pointer.
153 /// Retrieve result type for a volatile member function pointer.
160 /// Retrieve result type for a const volatile member function pointer.
168 * Strip top-level cv-qualifiers from the function object and let
183 * the function object's member template result to extract the
246 // that fails when _Tp is a function type.
262 // that fails when _Tp is a function type.
269 /// Turns a function type into a function pointer type
283 * Invoke a function object, which may be either a member pointer or a
284 * function object. The first parameter will tell which.
312 // To pick up function references (that will become function pointers)
381 // - a function type (unary)
387 // - a function type (binary)
393 // - a function pointer type (unary)
399 // - a function pointer type (binary)
405 // - a pointer to member function type (unary, no qualifiers)
411 // - a pointer to member function type (binary, no qualifiers)
417 // - a pointer to member function type (unary, const)
423 // - a pointer to member function type (binary, const)
429 // - a pointer to member function type (unary, volatile)
435 // - a pointer to member function type (binary, volatile)
441 // - a pointer to member function type (unary, const volatile)
447 // - a pointer to member function type (binary, const volatile)
458 // If _Tp is a function type, we can't form result_of<_Tp(...)>,
459 // so turn it into a function pointer type.
551 /// Implementation of @c mem_fn for member function pointers.
594 /// Implementation of @c mem_fn for const member function pointers.
637 /// Implementation of @c mem_fn for volatile member function pointers.
681 /// Implementation of @c mem_fn for const volatile member function pointers.
819 * @brief Returns a function object that forwards to the member
830 * @brief Determines if the given type _Tp is a function object
832 * function objects returned by bind(). [TR1 3.6.1]
984 * function object [TR1 3.6.3/5]. Only the first parameter should
986 * implementations. Note that, although this class is a function
1020 * function object with the same cv-qualifiers as we are given and
1048 // Invokes the underlying function object __arg by unpacking all
1061 * a reference to the Nth argument to the bind function object.
1118 * other function objects untouched. Used by tr1::bind(). The
1133 * other function objects untouched. Used by tr1::bind(). This
1146 /// Type of the function object returned from bind().
1264 /// Type of the function object returned from bind<R>().
1487 * @brief Exception class thrown when class template function's
1495 * pointer to this type. It is used by the function template to
1566 // Converts a reference to a function object into a callable
1567 // function object.
1584 class function;
1586 /// Base class of all polymorphic function object wrappers.
1605 // Retrieve a pointer to the function object
1615 // Clone a location-invariant function object that fits within
1623 // Clone a function object that is not location-invariant or
1680 _M_not_empty_function(const function<_Signature>& __f)
1877 /// class function
1879 class function<_Res(_ArgTypes...)>
1904 * @brief Default construct creates an empty function call wrapper.
1907 function() : _Function_base() { }
1910 * @brief Default construct creates an empty function call wrapper.
1913 function(_M_clear_type*) : _Function_base() { }
1917 * @param x A %function object with identical call signature.
1920 * The newly-created %function contains a copy of the target of @a
1923 function(const function& __x);
1926 * @brief Builds a %function that targets a copy of the incoming
1927 * function object.
1928 * @param f A %function object that is callable with parameters of
1932 * The newly-created %function object will target a copy of @a
1933 * f. If @a f is @c reference_wrapper<F>, then this function
1934 * object will contain a reference to the function object @c
1935 * f.get(). If @a f is a NULL function pointer or NULL
1938 * If @a f is a non-NULL function pointer or an object of type @c
1939 * reference_wrapper<F>, this function will not throw.
1942 function(_Functor __f,
1949 * @param x A %function with identical call signature.
1956 * If @a x targets a function pointer or a reference to a function
1959 function&
1960 operator=(const function& __x)
1962 function(__x).swap(*this);
1973 function&
1987 * @param f A %function object that is callable with parameters of
1992 * This %function object wrapper will target a copy of @a
1993 * f. If @a f is @c reference_wrapper<F>, then this function
1994 * object will contain a reference to the function object @c
1995 * f.get(). If @a f is a NULL function pointer or NULL
1998 * If @a f is a non-NULL function pointer or an object of type @c
1999 * reference_wrapper<F>, this function will not throw.
2003 function&>::__type
2006 function(__f).swap(*this);
2010 // [3.7.2.2] function modifiers
2013 * @brief Swap the targets of two %function objects.
2014 * @param f A %function with identical call signature.
2016 * Swap the targets of @c this function object and @a f. This
2017 * function will not throw an %exception.
2019 void swap(function& __x)
2026 // [3.7.2.3] function capacity
2029 * @brief Determine if the %function wrapper has a target.
2031 * @return @c true when this %function object contains a target,
2034 * This function will not throw an %exception.
2049 // [3.7.2.4] function invocation
2052 * @brief Invokes the function targeted by @c *this.
2056 * The function call operator invokes the target function object
2062 // [3.7.2.5] function target access
2064 * @brief Determine the type of the target of this function object
2067 * @returns the type identifier of the target function object, or
2070 * This function will not throw an %exception.
2075 * @brief Access the stored target function object.
2077 * @return Returns a pointer to the stored target function object,
2081 * This function will not throw an %exception.
2092 void operator==(const function<_Function>&) const;
2094 void operator!=(const function<_Function>&) const;
2101 function<_Res(_ArgTypes...)>::
2102 function(const function& __x)
2115 function<_Res(_ArgTypes...)>::
2116 function(_Functor __f,
2133 function<_Res(_ArgTypes...)>::
2144 function<_Res(_ArgTypes...)>::
2160 function<_Res(_ArgTypes...)>::
2179 function<_Res(_ArgTypes...)>::
2196 * @brief Compares a polymorphic function object wrapper against 0
2200 * This function will not throw an %exception.
2204 operator==(const function<_Signature>& __f, _M_clear_type*)
2210 operator==(_M_clear_type*, const function<_Signature>& __f)
2214 * @brief Compares a polymorphic function object wrapper against 0
2218 * This function will not throw an %exception.
2222 operator!=(const function<_Signature>& __f, _M_clear_type*)
2228 operator!=(_M_clear_type*, const function<_Signature>& __f)
2234 * @brief Swap the targets of two polymorphic function object wrappers.
2236 * This function will not throw an %exception.
2240 swap(function<_Signature>& __x, function<_Signature>& __y)