
12 Jul
2007
12 Jul
'07
7:21 a.m.
Instantiating every node you have to add is just too much unnecessary burden. I can't see how the user gains with this, instead of the declarative approach.
What about typesafety? Isn't it better to insert firstname objects into articleinfo objects than inserting tag objects into tag object?
How are you going to enforce only firstnames to articleinfo? Or did I miss something?
You could do it over templates like typedef tag< mpl::vector< title, author > // tags mpl::vector< isbn > // atributes
article_info;
Kind regards, Oliver