[ptr_container] serialization using xml archives

Is ptr_container compatible with xml archives? It seems to be failing to compile because reversible_ptr_container doesnt use nvp, failing to give a tag name. Best regards, -- Felipe Magno de Almeida

Felipe Magno de Almeida skrev:
Is ptr_container compatible with xml archives? It seems to be failing to compile because reversible_ptr_container doesnt use nvp, failing to give a tag name.
Oh, I did not know of special requirements of xml-serialization. I'll add it to my todo. -Thorsten

On 7/18/07, Thorsten Ottosen <thorsten.ottosen@dezide.com> wrote:
Felipe Magno de Almeida skrev:
Is ptr_container compatible with xml archives? It seems to be failing to compile because reversible_ptr_container doesnt use nvp, failing to give a tag name.
Oh, I did not know of special requirements of xml-serialization.
What tag names are you going to use? I'm using "size" and "item" for my local copy. I'd like to be forward-compatible.
I'll add it to my todo.
-Thorsten
-- Felipe Magno de Almeida

Felipe Magno de Almeida skrev:
On 7/18/07, Thorsten Ottosen <thorsten.ottosen@dezide.com> wrote:
Felipe Magno de Almeida skrev:
Is ptr_container compatible with xml archives? It seems to be failing to compile because reversible_ptr_container doesnt use nvp, failing to give a tag name. Oh, I did not know of special requirements of xml-serialization.
What tag names are you going to use? I'm using "size" and "item" for my local copy. I'd like to be forward-compatible.
Right. What does other boost libraries do? "item" is the default for std-containers, right? Does std-containers also use "size"? -Thorsten

On 7/23/07, Thorsten Ottosen <thorsten.ottosen@dezide.com> wrote:
[snip]
Right. What does other boost libraries do? "item" is the default for std-containers, right?
Yes
Does std-containers also use "size"?
No. count. I'll change my local copy too.
-Thorsten
-- Felipe Magno de Almeida
participants (2)
-
Felipe Magno de Almeida
-
Thorsten Ottosen