Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Standard C++ Library Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

pointer_to_binary_function

Module:  Standard C++ Library   Library:  General utilities


pointer_to_binary_function binary_function

Local Index

No Entries

Summary

A function object that adapts a pointer to a binary function, to take the place of a binary_function

Synopsis

#include <functional>

namespace std {
  template <class Arg1, class Arg2, class Result>
  class pointer_to_binary_function;
}

Description

The pointer_to_binary_function class encapsulates a pointer to a two-argument function. The class uses operator() so that the resulting object serves as a binary function object for that function.

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

Interface

See Also

binary_function, Function Objects, pointer_to_unary_function, ptr_fun()

Standards Conformance

ISO/IEC 14882:1998 -- International Standard for Information Systems -- Programming Language C++, Section 20.3.7



Previous fileTop of DocumentContentsIndex pageNext file

Copyright (c) 1994-2006 Rogue Wave Software, a Quovadx Division.
Licensed under the Apache License, Version 2.0.
Contact Rogue Wave about documentation or support issues. You can also seek help from other developers through the Apache stdcxx community (see below).

For more information on the Rogue Wave Standard C++ Library under open source, see Section 1.2 of the user's guide.