This returns the type used in the template. However, this doesn't work for everything. For instance if I want to do printf( "myInt is %d\n", myInt ); It's not printing the integer value of myInt, I'm printing some garbage data.
I can also have a .Get() function that also returns the m_Var above, but if it's possible to avoid that, I would prefer it.
Yeah, ha, I'm trying to break away from C functions, but they've gotten so ingrained in me. Still, the implicit conversion would be useful for those kinds of functions. I'd rather avoid casting altogether. But it seems that it's unavoidable.