> |         vector<string> names;
> |         std::copy(family.begin(), family.end(),
> |                   back_inserter(push_back_first(names)));
> 
> And this will work equally well with any container that implements
> push_back not just vectors or constainers that implement operator[]

And the transform will work on any output iterator. Like ostream_iterator
or pointer in an array. Aetsch ;-)

Andre'


-- 
André Pönitz ........................................ [EMAIL PROTECTED]

Reply via email to