> Technically speaking, it is legal C++, but it's a bit more involved than
> this.  You also have to define type traits for XMLCh and then 
> deal with the fact that your XMLCh strings won't work with char or 
> wchar_t strings, can't be printed via cout or wcout, etc.

Right, I was glossing over details. It's not legal without significant
additional work.

> Eh, all that's required is another transcoding jump from XMLCh* to
> wstring in the XML code wrappers.  Irritating and slow, but 
> not a major complication.

Well, so, I've been punting for a while on actually building a usable
wrapper that's STL container-friendly. Mostly because it's a pain to get the
details right, and I figured if nobody had done one there might be a subtle
reason I hadn't explored for why it won't work.

Does somebody have one? If so, adding it to the distribution would be most
welcome.

If not, I guess I may end up doing it, instead of coding around this with
hacks all over the place with ifdef HAVE_STL_THAT_DOESNT_SUCK.

-- Scott


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to