zeux/pugixml

Can you add the ability to access child nodes using index?

Aii-Wei opened this issue · 1 comments

Can you add the ability to access child nodes using index?
zeux commented

Node children are stored in a linked list, so a first class index operation will not be added as it won't be O(1). You can always emulate O(N) indexing using std::advance(node.begin(), count).