Jez Higgins

Freelance software grandad
software created
extended or repaired


Follow me on Twitter
Applications, Libraries, Code
Talks & Presentations

Hire me
Contact

Older posts are available in the archive or through tags.

Feed

Tuesday 07 August 2007 Arabica: Always comes back to bite you in the end ...

  ++node;
  if(getNodeId<string_adaptor>(node) != impl::Literal_id) // not sure if this is always safe

I'd had a feeling that this line might be dereferencing an off-the-end iterator but in the absence of anything blowing up never went back to check all the corner cases.

Started building Arabica with Visual Studio 2005 this morning. It's shiny new debugging Standard Library immediate caught that it absolutely is being naughty.

Oops.


Tagged code, arabica, xml, and c++


Jez Higgins

Freelance software grandad
software created
extended or repaired

Follow me on Twitter
Applications, Libraries, Code
Talks & Presentations

Hire me
Contact

Older posts are available in the archive or through tags.

Feed