Boost logo

Boost Users :

From: JOAQUIN LOPEZ MU?Z (joaquin_at_[hidden])
Date: 2007-11-17 14:43:29


----- Mensaje original -----
De: Nebojsa Simic <nelle_at_[hidden]>
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_at_[hidden]
[...]
> 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


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