Category: functors | Component type: type |
struct exponentiate : public binary_function<double, double, double> { double operator()(double x, double y) { return pow(x, y); } };
Parameter | Description | Default |
---|---|---|
Arg1 | The function object's first argument type | |
Arg2 | The function object's second argument type | |
Result | The function object's result type |
Member | Where defined | Description |
---|---|---|
first_argument_type | unary_function | See below. |
second_argument_type | unary_function | See below. |
result_type | unary_function | See below. |
Member | Description |
---|---|
first_argument_type | The function object's first argument type. This is a typedef for the template parameter Arg1. |
second_argument_type | The function object's second argument type. This is a typedef for the template parameter Arg2. |
result_type | The function object's result type. This is a typedef for the template parameter Result. |
Contact Us | Site Map | Trademarks | Privacy | Using this site means you accept its Terms of Use |
Copyright © 1993-2006 Silicon Graphics, Inc. All rights reserved. |