$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: John Femiani (JOHN.FEMIANI_at_[hidden])
Date: 2007-10-19 14:16:45
On Behalf Of Chris Weed
> Hi,
> I would like to bind to the boost::get<N> function for use by
> transform iterator.
I don't know the answer to you question, but with overloaded functions
or functions that have too many template arguments I sometimes forego
binders and write a small struct to invoke them. It might be something
like this:
template<int Index, class Tuple>
struct calls_get_t : std::unary_function<..> {
result_type operator()(argument_type arg) {
return get<Index>(arg);
}
};
Maybe boost-pros know a better way. Also I am beginning to look at
Fusion which may have some extra functions we can use with tuples.
-- John