----- Mensaje original ----- De: Nebojsa Simic <nelle@sbox.tugraz.at> Fecha: Sábado, Noviembre 17, 2007 5:54 pm Asunto: Re: [Boost-users] [multiindex] [bind] Update members of the container between two iterators Para: boost-users@lists.boost.org [...]
I'm working with VS 2003 (Compiler Version 13.10.3077) and it does not like nested templates, so I tried doing the following :
typedef boost::function<void(Statistics)> fnModifier;
for_each_it( it , idxResponse.end() , boost::bind( &StatisticsByResponse::modify<fnModifier> , boost::ref(idxResponse) , ::_1 , fnAddW0 ) );
bind still cant find proper instantiation : "could not deduce template argument for 'overloaded function type' from'overloaded function type'"
Could this be a compiler issue ???
I'd say so: the code compiles fine here with VS 2005. Joaquín M López Muñoz Telefónica, Investigación y Desarrollo