For my project I'm working with anonymous classes in C++ and I was wondering where in memory they are allocated. 

I'm pretty sure that will be allocated on the heap, but I would like to know if anyone else has more detailed information.