In this example:
void print(int i) { std::cout<<i<<" "; }
for_each(coll.begin(), coll.end(), print);
What kind of entity is "print" when it appears as an actual parameter in the
for_each function call? It's not an object. Should it be thought of as a
reference to the addressable location which would be pointed to by a
function pointer? Is it an "alias" for a function pointer?
--
NOUN:1. Money or property bequeathed to another by will. 2. Something handed
down from an ancestor or a predecessor or from the past: a legacy of
religious freedom. ETYMOLOGY: MidE legacie, office of a deputy, from OF,
from ML legatia, from L legare, to depute, bequeath. www.bartleby.com/61/