Let's say Octree()
is a container with Elements of type double.
Can I use sizeof(Octree)
to determine how much memory in bytes is taken up by my octree?
Sizeof()
should change if I change the resolution/depth of my octree - which does not seem to be the case when I test it.
Is there a way I could determine the dynamically allocated memory size of my octree?