i was creating a linked list but my publicly inherited item is shown as out of scope in my code. I am posting the code necessary code here.
template