Jez Higgins

Freelance software generalist
software created
extended or repaired


Older posts are available in the archive or through tags.

Feed

Follow me on Twitter
My code on GitHub

Contact
About

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 generalist
software created
extended or repaired

Older posts are available in the archive or through tags.

Feed

Follow me on Twitter
My code on GitHub

Contact
About