(C++)
Create an ordered list class.
Design and implement an ordered list class using an array ofpointers. This class should be a template.
The class should have an array that holds 20 items.
The AddItem method should start at the front of the array whensearching for a place to insert a new item.
The RemoveItem method should ensure that the items in the arrayare still in order and there are no empty spots between items.
The class should include IsEmpty, IsFull and MakeEmptymethods.
Any error conditions encountered such as the item to be removeddoesn’t exist or the list is full when trying to add an item shouldthrow
PayPal Gateway not configured
PayPal Gateway not configured