Boost logo

Boost Users :

From: Hossein Haeri (powerprogman_at_[hidden])
Date: 2004-01-23 04:46:58

Dear all,

I've got a ternary function (which is std::find), and
want to bind the first and second parameters (to the
begining and the end of a std::vector). Then send the
result to compose2 to check the equality for the end
of the vector. Here is what I did:

    bind1st(bind1st_3(ptr_fun(f), V_.begin()),

(I've prepared any goodie needed by ternary functions
for the above statement: ptr_fun, bind1st_3, ...)

Dev-C++ (GCC 3.3.2 I think), gives me several
errors (including "Reference to Reference" problem),
and I'm nearly convinced not to continue it this way.

Now, how do you, boost guys, do that?


Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at