#include<iostream>
using namespace std;
template<class T>
class my_stack
{
public:
my_stack(int n = 10);
~my_stack();
bool empty()const;
bool full()const;
bool push(const T& element);
bool pop();
bool get_top(T& top)const;
private:
T* a;
int m_size;
int m_max_size;
};
template<class T>
my_stack<T>::my_stac
using namespace std;
template<class T>
class my_stack
{
public:
my_stack(int n = 10);
~my_stack();
bool empty()const;
bool full()const;
bool push(const T& element);
bool pop();
bool get_top(T& top)const;
private:
T* a;
int m_size;
int m_max_size;
};
template<class T>
my_stack<T>::my_stac