I write a code to implement a circular list using a template:
template <class T>
class CircularList {
//implement
}
int main() {
CircularList<string>* letters = new CircularList<>();
}
But I have an error when I create an instance in the main class, what is the right syntax to write this?