Using a templated object in another class
This may sound odd, and I know I've been on this board all night bombarding you poor souls with my stupid questions, but I've got another. I have a class that is template based. It looks like this:
Code:
template <int A, int B>
class CDRAWBLT
{
...
};
Now, in another class, I have a member function which takes as a parameter a CDRAWBLT reference. My problem is this: I don't know how to get this to work! I've tried everything I can think of to get this to work! I've tried making that one member function template-based, but that doesn't seem to be working, and I've tried to make the whole class template based, but I don't really want that. I've also tried just leaving out the template list while making my other function. I didn't really expect that to work, and it didn't, but anyways...I'm sorry I keep badgering you all, but you're always so helpful! I'm asking one last time (tonight, at least) for your help. Thanks in advance!
Brendan