If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register or Login
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Re: Typecasting

Originally Posted by kloveridge

I have a situation where I have two identical storage containers:

Since these are unique structs, but the contents just appear to be the same, then create a template function instead of casting, and inside that function, you work strictly with the contents of the object that's passed.