Category: functors | Component type: type |
struct sine : public unary_function<double, double> { double operator()(double x) { return sin(x); } };
Parameter | Description | Default |
---|---|---|
Arg | The function object's argument type | |
Result | The function object's result type |
Member | Where defined | Description |
---|---|---|
argument_type | unary_function | See below. |
result_type | unary_function | See below. |
Member | Description |
---|---|
argument_type | The function object's argument type. This is a typedef for the template parameter Arg. |
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. |