|
Boost Users : |
From: Mark Ruzon (ruzon_at_[hidden])
Date: 2007-01-11 15:09:41
I have a function that performs the same task on several data types and
data combinations:
template <typename T>
int f(const type1<T>& x);
template <typename T>
int f(const type2<T>& x);
template <typename T>
int f(const type2<T>& x, const type2<T>& y);
I want to create a function object out of the second function. However,
bind(f, _1) is ambiguous. Is there a way to disambiguate this using a
bind call, or do I have to create my own function object?
Thanks,
Mark
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