>>"somevar" is really just any variable, it doesn't matter what the type is
What jlou and your compiler are telling you is that it does matter. The constructor for classtwo<T> takes type "T", not "T*", or anything else.

>> is the int type going to get correctly passed into class two...?
When done correctly, yes.

>>...it seems like it should work, but it isn't.
>>>>It would be better if you could reproduce the problem with a small and compilable example and post that.

gg