cpp/utility/functional/pointer to binary function

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

Member functions
{{member | {{small|std::pointer_to_binary_function::}}pointer_to_binary_function | 2= {{ddcl | 1= explicit pointer_to_binary_function( Result (*f)(Arg1,Arg2) ); }}

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

Parameters
}}

{{member | {{small|std::pointer_to_binary_function::}}operator | 2= {{ddcl | 1= Result operator( Arg1 x1, Arg2 x2 ) const; }}

Calls the stored function.

Return value
The value returned by the called function.

}}