pointer_to_unary_function man page on SunOS

Man page or keyword search:  
man Server   20652 pages
apropos Keyword Search (all sections)
Output format
SunOS logo
[printable version]

pointer_to_unary_function(3C++)	       -       pointer_to_unary_function(3C++)

Standard C++ Library Copyright 1998, Rogue Wave Software, Inc.

NAME
       pointer_to_unary_function

	- A function object class that adapts a pointer to a function, to take
       the place of a unary_function.

SYNOPSIS
#include <functional>
template <;class Arg, class Result>
class pointer_to_unary_function : public unary_function<;Arg, Result>;

DESCRIPTION
       The pointer_to_unary_function class encapsulates a pointer to a single-
       argument	 function.  The	 class	uses  operator() so that the resulting
       object serves as a function object for that function.

       The  ptr_fun  function	is   overloaded	  to   create	instances   of
       pointer_to_unary_function when included with the appropriate pointer to
       a function.

INTERFACE
       template <class Arg, class Result>
       class pointer_to_unary_function : public
     unary_function<Arg, Result> {

public:
  explicit pointer_to_unary_function (Result (*f)(Arg));
  Result operator() (const Arg&) const;
};

template<;class Arg, class Result>
pointer_to_unary_function<;Arg, Result>
 ptr_fun (Result (*f)(Arg));

SEE ALSO
       Function_Objects, pointer_to_binary_function, ptr_fun, unary_function

Rogue Wave Software		  02 Apr 1998  pointer_to_unary_function(3C++)
[top]

List of man pages available for SunOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net