littlebr369
littlebr369
This makes it easier for users to encapsulate
> What's wrong with a for loop? What I mean is that if I want to encapsulate codes like this: template T GetField(Args... args){ std::vector keys_container; for(auto &v:{args...}){ keys_container.push_back(v); }...
> I am facing the same issue. use for loop to walk from root node to leaf node will cause the root node value changed. Have your problem solved?