Boost logo

Boost Users :

Subject: Re: [Boost-users] date-time library and checked iterators 2
From: gast128 (gast128_at_[hidden])
Date: 2009-01-28 12:26:39


> Hi,
>
> I won't be able to fix the problem if it is in the boost library, I am
> afraid, but I could try to help narrowing it down. If there is a bug in
> the boost code, you should file a bug report.
I don't know how to. Even so a previous attempt was unsuccesful. I got a
strange http error (the last time).

> Could you send a short sample code which should compile but does not
> (~10 lines)?

Code compiles but gives a runtime error (through the checked iterators):

// use time_put facet to create final string
      return std::use_facet<std::time_put<CharT> >(a_ios.getloc()).put(next,
a_ios,
fill_char,
&tm_value,
&*a_format.begin(),
&*a_format.begin()+a_format.size());

 
> Which boost version are you using?
1.37


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