Home » U++ Library support » U++ Core » Xmlize default value
Re: Xmlize default value [message #42003 is a reply to message #41707] |
Mon, 10 February 2014 15:07 |
|
mirek
Messages: 13975 Registered: November 2005
|
Ultimate Member |
|
|
I have implemented this, but I have encountred nasty problem on the way. All works fine except for string, where there is unresolvable overloading ambiguity with
template <class T> XmlIO operator()(const char *tag, const char *itemtag, T& var);
which is variant intended to choose tag of items while serializing containers.
The only nice solution would be to change this non-operator method, something like
template <class T> XmlIO Container(const char *tag, const char *itemtag, T& var);
or perhaps possible remove it completely (currently, there are also default variants with "item", "key" etc...).
Any suggestions?
|
|
|
Goto Forum:
Current Time: Wed Apr 24 06:42:31 CEST 2024
Total time taken to generate the page: 0.02920 seconds
|