ADC Home > Reference Library > Reference > Darwin > Miscellaneous User Space API Reference

 


functional_iterate.h

Includes:

Introduction

This is an internal header file, included by other library headers. You should not attempt to use it directly.



Functions

function
function
function(const function &)

function


function() : _Function_base() 
Discussion

@brief Default construct creates an empty function call wrapper. @post @c !(bool)*this


function


function(
    _M_clear_type*) : _Function_base() 
Discussion

@brief Default construct creates an empty function call wrapper. @post @c !(bool)*this


function(const function &)


function(
    const function& __x);  
Parameters
x
A %function object with identical call signature. @pre @c (bool)*this == (bool)x

The newly-created %function contains a copy of the target of @a x (if it has one).
Discussion

@brief %Function copy constructor.

Typedefs


__enable_if


template<typename _Functor _GLIBCXX_COMMA _GLIBCXX_TEMPLATE_PARAMS> inline typename __enable_if< typename result_of<_Functor(
            _GLIBCXX_TEMPLATE_ARGS)>::type, (
        !is_member_pointer<_Functor>::value && !is_function<_Functor>::value && !is_function<typename remove_pointer<_Functor>::type>::value) >::__type __invoke(
            _Functor& __f _GLIBCXX_COMMA _GLIBCXX_REF_PARAMS)               
Discussion

@if maint Invoke a function object, which may be either a member pointer or a function object. The first parameter will tell which. @endif


_Safe_bool


typedef _Hidden_type* _Hidden_type::* _Safe_bool;  
Discussion

@if maint This typedef is used to implement the safe_bool idiom. @endif

Structs and Unions


_Hidden_type


struct _Hidden_type { 
    _Hidden_type*_M_bool; 
};  
Discussion

@if maint This class is used to implement the safe_bool idiom. @endif


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.
Last Updated: 2006-06-20