Add

All class functions are defined inline.

[ Samples | Source | Keywords | Summary | Ancestors | All Members | Descendants ]

Quick Index

DESCRIPTION

Class Summary

template <class T> struct Add : public BinaryFunction<T,T,T>
{
public:
protected:
}; // Add

Back to the top of Add

DESCRIPTION

The object adds two objects of type T and returns their sum. Assumes T has operator+ overloaded.

Parameters [in] x Constant references to the values to be added [in] y

Back to the top of Add

All Members

public:
R operator() (T1, T2) const; // pure virtual
protected:

Back to the top of Add

Ancestors

Inheritance chain for Add:

Back to the top of Add

Descendants

Class is not inherited by any others.

Back to the top of Add

Generated from source by the Cocoon utilities on Fri Jan 26 13:37:34 2001 .

Report problems to jkotula@vitalimages.com