I have a template list in my main which has a template class object in it.
List<serviceInfo<T>> priceList;
In order for me to get it working, I will have to declare template above my main
template <class T>
int main()
which will give me the following error:
LNK2019: unresolved external symbol main referenced in function
__tmainCRTStartup
mainshould never be templated.Instead, you should replace
TinList<serviceInfo<T>>with an actual type.If you want to have different types of
serviceInfo<T>in your list, create several lists.