On Wed, 17 Jun 2015 06:02:46 +0000, WhatMeWorry wrote:

> I guess the question would be why would one want a struct on the heap
> and a class on the stack?  Performance reasons?

struct on the heap: some containers, for example, doing their own memory 
management.

class on the stack: guaranteed destruction when leaving a scope.

Attachment: signature.asc
Description: PGP signature

Reply via email to