ready for surrender
This commit is contained in:
@@ -9,8 +9,8 @@ namespace ft {
|
||||
template <
|
||||
typename T,
|
||||
typename Container = ft::vector<T>
|
||||
> class stack
|
||||
{
|
||||
> class stack {
|
||||
|
||||
public:
|
||||
typedef Container container_type;
|
||||
typedef typename Container::value_type value_type;
|
||||
@@ -22,7 +22,6 @@ public:
|
||||
************/
|
||||
// constructors ------------------------------
|
||||
explicit stack(const container_type& cont = Container()) : c(cont) {}
|
||||
explicit stack(stack const &other): c(other.c) {}
|
||||
|
||||
|
||||
/**********************
|
||||
@@ -55,7 +54,7 @@ public:
|
||||
friend bool operator>=(const stack<T2,C2>& lhs, const stack<T2,C2>& rhs);
|
||||
|
||||
protected:
|
||||
Container c;
|
||||
container_type c;
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user