summaryrefslogtreecommitdiff
path: root/vector.hpp
blob: ca3ff984938ba8ce62b95ce128dc7d5e76f03b58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#pragma once
#include <memory>

namespace ft {
	template <
		class T,
		class Allocator = std::allocator<T>
	> class vector {
	private:
		typedef T value_type;
		typedef Allocator allocator_type;
		typedef std::size_t size_type;
		typedef std::ptrdiff_t difference_type;
		typedef value_type& reference;
		typedef const value_type& const_reference;
		typedef typename Allocator::pointer pointer;
		typedef void iterator;
		typedef void const_iterator;
		typedef void reverse_iterator;
		typedef void const_reverse_iterator;
	public:
		vector();
		explicit vector(const Allocator& alloc);
		//explicit vector(size_type count, );
		~vector();
	};
}