2 Layer Template Structures Useless?
Linker errors are generally not that bad. You might''ve defined your function slightly different from the way that you declared it, or perhaps you are missing other templates and the linker is just giving you a seemingly unrelated error message. (Compilers are famous for that, you know.) From the error message it seems that the linker cannot tell whether your constructor GUIT::GUIT (...) is defined.
Thanks for the response NULL, I''m trying my damnest to figure it out.
In the meantime, I have a quick question that may help solve my problem.
Using "template class CList" and "template class GUI", what IS the proper syntax to make a CList of GUI elements?? I haven''t actually been able to get that to work - thanks again.
In the meantime, I have a quick question that may help solve my problem.
Using "template class CList" and "template class GUI", what IS the proper syntax to make a CList of GUI elements?? I haven''t actually been able to get that to work - thanks again.
Like this:
Note the space between the last two greater-than characters. This is so the compiler doesn''t think you''re trying to right-shift something.
-W
CList<GUI<int> >
Note the space between the last two greater-than characters. This is so the compiler doesn''t think you''re trying to right-shift something.
-W
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement