Re: [libxml++] NodeList problem. (SOLVED)
- From: Matthew Smart <m smart sympatico ca>
- To: Darko Miletic <darko uvcms com>
- Cc: libxmlplusplus-general lists sourceforge net
- Subject: Re: [libxml++] NodeList problem. (SOLVED)
- Date: Thu, 09 Jun 2005 21:02:20 -0400
Darko Miletic wrote:
m smart sympatico ca wrote:
Even if I call the function like so:
root->get_children().begin()
I get the violation. And no, if I reference to the list, it is not
invalid and .begin() should still be callable. It is the deferenceing
it that will call the problem. The reference is the same as making a
nodelist pointer that points to root->get_children() and calling
->begin() on it. I don't see how that should invalidate anything.
Now that is strange. I tried this micro code and no exception occured.
I seem to have fixed (if not figured out the problem. I am using
STLPort, and I was compiling with the preprocessor _STLP_DEBUG defined.
I stopped defineing it (though I am still compiling in debug mode) and
it works. I think this is a problem with either STLPort or Microsofts
compiler haveing difficullties with templates. Thanks for your help guys!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]