
28 Mar
2007
28 Mar
'07
8:06 a.m.
Christian Henning wrote:
Hi there, I'm trying to find a solution for looking for type vector containing a specific type. On another thread I was suggested to use at_c within the find_if algorithm. Unfortunately the code doesn't compile.
Placeholder substitution won't work in templates taking non-type arguments, such as at_c.
typedef mpl::find_if
mpl::_1,1, int> >::type iter;
Try using 'at' and 'int_':
typedef find_if