In order to do this (and I'm not sure why you would), you would have to hold that variable as a pointer, and then allocate an object with "new" at the proper moment. Now that you'd used new, you need to use delete at some point, or use a smart pointer. Why are you trying to do this?