Generics, I also do n’t understand this stuff, I used a lot of generics in this last project
I did n’t write it.
I don't quite understand generics yet.
Everyone says something different
Who should listen to
------------------------
Simply put, all the strings in the list must be strings
------------------------
This sounds very simple
The C++ template indicates that there is a linked list, and each element is of type string. If the parameter is int, then each element is of type int.
It is recommended to look at the usage of templates