[Spirit] file_iterator confusion
Hello.
I am just beginning to look at the spirit library, but am confused by the
way file_iterator is working.
Could anyone explain to me why this works:
typedef spirit::file_iterator
Angus Leeming wrote:
I am just beginning to look at the spirit library, but am confused by the way file_iterator is working. [snip] Minimal sample code attached. My tests have been with boost 1.30.1.
Changing the line #define FAILURE_MODE 1 toggles between the two cases.
Sorry, but did you forgot to attach your sample code? Or is it my mail client, which couldn't find it? Anyway, if you'd send it to me, I'd try to look at your problem. Regards Hartmut
HartmutKaiser@t-online.de wrote:
Angus Leeming wrote:
I am just beginning to look at the spirit library, but am confused by the way file_iterator is working. [snip] Minimal sample code attached. My tests have been with boost 1.30.1.
Changing the line #define FAILURE_MODE 1 toggles between the two cases.
Sorry, but did you forgot to attach your sample code? Or is it my mail client, which couldn't find it? Anyway, if you'd send it to me, I'd try to look at your problem.
Regards Hartmut
Mny thanks, Hartmut. It appears that attachments are removed. I will send you the sample code this evening. Regards, Angus
participants (2)
-
Angus Leeming
-
HartmutKaiser@t-online.de