
16 Mar
2002
16 Mar
'02
2:58 a.m.
On 3/15/02 4:37 PM, "rodrigo_braz" <rodrigo_braz@yahoo.com> wrote:
--- In Boost-Users@y..., Jon Kalb <kalb@L...> wrote: Actually my main problem with this iterator is in the code below:
#include <vector> #include "boost/iterator_adaptors.hpp"
using namespace std; using namespace boost;
struct is_active { bool operator()(int p) { return 0 < p; } };
struct A { typedef filter_iterator_generator<is_active,vector<int>::iterator>::type active_iterator;
CodeWarrior doesn't complain about this code, but I think that it should be: typedef typename filter_iterator_generator<is_active,vector<int>::iterator>::type active_iterator; -- Jon Kalb Kalb@LibertySoft.com