Christopher Smith on 15 Aug 2003 16:49:51 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: FW: [ALACPP] bound for success!


On Fri, 2003-08-15 at 09:22, Jason Fredrickson wrote:
> Correct me if I'm wrong, but isn't this exactly what std::transform is
> designed to let you do?  So you'd want something like:

Wow! I have never been shown the transform function before. I always
found it strange that STL had no analogue to collect. Learn something
new every day! :-)

The bind in your example seems a little off, as it looks like it assumes
aTransformationFunction is a binary function, but Gavin's sample
indicates it's unary. Am I missing something?

-- 
Christopher Smith <x@xxxxxxxx>
_______________________________________________
alacpp mailing list
alacpp@xxxxxxxxxxx
http://lists.ellipsis.cx/mailman/listinfo/alacpp