Re: [Boost-users] [multi_index] const_mem_fun with an inherited member function
----- Mensaje original -----
De: Matt Steele
Your suggestion worked without any changes (runtime tested it with a few toy calls to insert()/find() ). However, if instead of invoking the global get<>() function template, I try to call the member function template,
return t.get<N>();
I get this compile error:
error: invalid use of member (did you forget the '&' ?)
Do you know if this code should compile? If not, is there a way to call a member function template in this context without relying on a global function wrapper?
Try return t.template get<N>(); Joaquín M López Muñoz Telefónica, Investigación y Desarrollo
participants (1)
-
JOAQUIN LOPEZ MU?Z