Hi
Thanks for your answer. I have tried to comment out the static_assert, and these are my findings:
1)
With load/save pair the code compiled with or without the static
assertion, and i works: Nodes whose value are a QString are saved and
loaded.
2) With a load_minimal/save_minimal pair,
commenting the static_assert makes *the*code*compile*! No compiler error
messages, just plain good compilation. Unfortunately, the code when
run, does not serialize any of the nodes containing my QString values.
The save_minimal/load_minimal methods are never called.
So
this does not leave me with much to hunt for since I have no compiler
errors. Sigh; I guess that's just template programming in a nutshell.