cpp/utility/functional/pointer to unary function

is a function object that acts as a wrapper around a unary function.

Member functions
{{member | {{small|std::pointer_to_unary_function::}}pointer_to_unary_function | 2= {{ddcl | 1= explicit pointer_to_unary_function( Result (*f)(Arg) ); }}

Constructs a {{tt|pointer_to_unary_function}} function object with the stored function {{tt|f}}.

Parameters
}}

{{member | {{small|std::pointer_to_unary_function::}}operator | 2= {{ddcl | 1= Result operator( Arg x ) const; }}

Calls the stored function.

Return value
The value returned by the called function.

}}