Didn't get: I have difficulty with call operator ().
One minute response: The declaration syntax is admittedly odd, but consistent with other operator declaration syntax. Using the call operator is natural and looks just like a function call.
Didn't get: Use of function adaptors and calling in program.
One minute response: Don't worry about function adaptors; when you need them, you'll understand what they're for.
Didn't get: Passing function parameter.
One minute response: The difficulty is in the choice: you can pass function pointers or function objects. Use template parameters to eliminate the choice and allow for both.
Didn't get: Function pointers are more confusing because of the way they are defined.
One minute response: Whenever you declare a function, you've defined a constant function pointer having the name of the function.
Didn't get: Istream iterator adaptors.
One minute response: An istream adaptor creates iterators that read from an input stream using stream extraction.
This page last modified on 25 March 2003.