Boost logo

Boost Users :

From: Sohail Somani (s.somani_at_[hidden])
Date: 2007-02-15 18:37:01


Hi,

Say I have a function "int add(int, int)" and want to use it in a call
to std::transform with zip_iterators. Is there a way to do it without
writing an intermediate function object?

If not, would it be sensible to write a generic one using the
function_types library? I can't imagine this would be too hard but just
wanted to know if there is anything I can leverage before writing it
myself.

Thanks in advance,

Sohail


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net