We can include the STL stack implementation into our programs with the directive #include <stack> and then we can dene initially empty stack objects and apply methods called push, pop, top and empty. o In C++, a template construction allows us to create data structures whose entries have different types. Example: stack<double> numbers and stack<int> numbers• We can include the STL stack implementation into our programs with the directive #include <stack> and then we can dene initially empty stack objects and apply methods called push, pop, top, and empty. • In C++, a template construction allows us to create data structures whose entries have different types. Example: stack<double> numbers and stack<int> numbers