Copyright (C) 2000-2012 |
Whole document tree Unary Function
DescriptionA Unary Function is a kind of function object: an object that is called as if it were an ordinary C++ function. A Unary Function is called with a single argument.Refinement ofAssignableAssociated types
Notation
DefinitionsThe domain of a Unary Function is the set of all permissible values for its argument.The range of a Unary Function is the set of all possible values that it may return. Valid expressions
Expression semantics
Complexity guaranteesInvariantsModels
Notes[1] Two different invocations of f may return different results, even if f is called with the same arguments both times. A Unary Function may refer to local state, perform I/O, and so on. The expression f(x) is permitted to change f's state. See alsoFunction Object overview, Generator, Binary Function Adaptable Unary FunctionCopyright © 1999 Silicon Graphics, Inc. All Rights Reserved. TrademarkInformation
|