cpp/utility/functional/ptr fun

Creates a function wrapper object (either or ), deducing the target type from the template arguments.

@1@ Effectively calls.

@2@ Effectively calls.

This function and the related types are deprecated as of C++11 in favor of the more general std and std, both of which create callable adaptor-compatible function objects from plain functions.

Return value
A function object wrapping.