Boost logo

Boost Users :

From: Jeff Garland (jeff_at_[hidden])
Date: 2002-11-06 13:46:29


> Contrary to the documentation, the type "year_iterator"
> does not appear to be defined in the file "gregorian_types.hpp".
> Or did I miss something?

No, but apparently I did...

Until the typedef gets put into the library you can create it as
follows:

namespace boost {
namespace gregorian {

  typedef date_time::date_itr<date_time::year_functor<date>,
                              date> year_iterator;

} }

Jeff


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