Lines Matching refs:v_
38 nasty_vector() : v_() {} in nasty_vector()
39 explicit nasty_vector(size_type n) : v_(n) {} in nasty_vector()
40 nasty_vector(size_type n, const value_type& value) : v_(n, value) {} in nasty_vector()
41 …template <class InputIterator> nasty_vector(InputIterator first, InputIterator last) : v_(first, l… in nasty_vector()
43 nasty_vector(std::initializer_list<value_type> il) : v_(il) {} in nasty_vector()
48 void assign(InputIterator first, InputIterator last) { v_.assign(first, last); } in assign()
49 void assign(size_type n, const value_type& u) { v_.assign(n, u); } in assign()
51 void assign(std::initializer_list<value_type> il) { v_.assign(il); } in assign()
54 iterator begin() TEST_NOEXCEPT { return v_.begin(); } in begin()
55 const_iterator begin() const TEST_NOEXCEPT { return v_.begin(); } in begin()
56 iterator end() TEST_NOEXCEPT { return v_.end(); } in end()
57 const_iterator end() const TEST_NOEXCEPT { return v_.end(); } in end()
59 reverse_iterator rbegin() TEST_NOEXCEPT { return v_.rbegin(); } in rbegin()
60 const_reverse_iterator rbegin() const TEST_NOEXCEPT { return v_.rbegin(); } in rbegin()
61 reverse_iterator rend() TEST_NOEXCEPT { return v_.rend(); } in rend()
62 const_reverse_iterator rend() const TEST_NOEXCEPT { return v_.rend(); } in rend()
64 const_iterator cbegin() const TEST_NOEXCEPT { return v_.cbegin(); } in cbegin()
65 const_iterator cend() const TEST_NOEXCEPT { return v_.cend(); } in cend()
66 const_reverse_iterator crbegin() const TEST_NOEXCEPT { return v_.crbegin(); } in crbegin()
67 const_reverse_iterator crend() const TEST_NOEXCEPT { return v_.crend(); } in crend()
69 size_type size() const TEST_NOEXCEPT { return v_.size(); } in size()
70 size_type max_size() const TEST_NOEXCEPT { return v_.max_size(); } in max_size()
71 size_type capacity() const TEST_NOEXCEPT { return v_.capacity(); } in capacity()
72 bool empty() const TEST_NOEXCEPT { return v_.empty(); } in empty()
73 void reserve(size_type n) { v_.reserve(n); }; in reserve()
74 void shrink_to_fit() TEST_NOEXCEPT { v_.shrink_to_fit(); } in shrink_to_fit()
76 reference operator[](size_type n) { return v_[n]; } in operator []()
77 const_reference operator[](size_type n) const { return v_[n]; } in operator []()
78 reference at(size_type n) { return v_.at(n); } in at()
79 const_reference at(size_type n) const { return v_.at(n); } in at()
81 reference front() { return v_.front(); } in front()
82 const_reference front() const { return v_.front(); } in front()
83 reference back() { return v_.back(); } in back()
84 const_reference back() const { return v_.back(); } in back()
86 value_type* data() TEST_NOEXCEPT { return v_.data(); } in data()
87 const value_type* data() const TEST_NOEXCEPT { return v_.data(); } in data()
89 void push_back(const value_type& x) { v_.push_back(x); } in push_back()
91 void push_back(value_type&& x) { v_.push_back(std::forward<value_type&&>(x)); } in push_back()
93 void emplace_back(Args&&... args) { v_.emplace_back(std::forward<Args>(args)...); } in emplace_back()
95 void pop_back() { v_.pop_back(); } in pop_back()
99 { return v_.emplace(pos, std::forward<Args>(args)...); } in emplace()
102 iterator insert(const_iterator pos, const value_type& x) { return v_.insert(pos, x); } in insert()
104 …iterator insert(const_iterator pos, value_type&& x) { return v_.insert(pos, std::forward<valu… in insert()
106 …iterator insert(const_iterator pos, size_type n, const value_type& x) { return v_.insert(pos, n, x… in insert()
109 { return v_.insert(pos, first, last); } in insert()
112 …iterator insert(const_iterator pos, std::initializer_list<value_type> il) { return v_.insert(pos, … in insert()
115 iterator erase(const_iterator pos) { return v_.erase(pos); } in erase()
116 iterator erase(const_iterator first, const_iterator last) { return v_.erase(first, last); } in erase()
118 void clear() TEST_NOEXCEPT { v_.clear(); } in clear()
120 void resize(size_type sz) { v_.resize(sz); } in resize()
121 void resize(size_type sz, const value_type& c) { v_.resize(sz, c); } in resize()
129 { v_.swap(nv.v_); } in swap()
134 nested_container v_; member in nasty_vector
138 bool operator==(const nasty_vector<T>& x, const nasty_vector<T>& y) { return x.v_ == y.v_; } in operator ==()