Thanks for the answer!
I’m not sure… these examples just count keys and prints their class names; I am comparing two methods to store a list of pointers to objects from a file, for more manipulation downstream. Sorry if I’m missing something…
Cheers,
Maarten