Boost logo

Boost Users :

Subject: [Boost-users] [bind]Help! Can we modify parameters before pass them into bind (see the context below for details)
From: jungleman (ustcrevolutionary_at_[hidden])
Date: 2010-08-22 01:52:42


I have some problems on function template bind.

the original usage of bind is : bind(func, _1, _2), and I wonder whether I
can modify the parameters before pass them into bind, for example, functype
function = bind(func, *_1, *_2).

So that, when I use function(a, b), it will do like this: func(*a, *b).

May it work, or some way else to do this? I just wanna do this in one line

thanks in advance.

Stay hungry,  stay foolish !

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