Lines Matching defs:value_type

21     typedef typename nested_container::value_type             value_type;
37 nasty_vector(size_type n, const value_type& value) : v_(n, value) {}
40 nasty_vector(std::initializer_list<value_type> il) : v_(il) {}
46 void assign(size_type n, const value_type& u) { v_.assign(n, u); }
48 void assign(std::initializer_list<value_type> il) { v_.assign(il); }
83 value_type* data() _NOEXCEPT { return v_.data(); }
84 const value_type* data() const _NOEXCEPT { return v_.data(); }
86 void push_back(const value_type& x) { v_.push_back(x); }
88 void push_back(value_type&& x) { v_.push_back(std::forward<value_type&&>(x)); }
103 iterator insert(const_iterator pos, const value_type& x) { return v_.insert(pos, x); }
105 iterator insert(const_iterator pos, value_type&& x) { return v_.insert(pos, std::forward<value_type>(x)); }
107 iterator insert(const_iterator pos, size_type n, const value_type& x) { return v_.insert(pos, n, x); }
113 iterator insert(const_iterator pos, std::initializer_list<value_type> il) { return v_.insert(pos, il); }
122 void resize(size_type sz, const value_type& c) { v_.resize(sz, c); }
142 typedef typename nested_container::value_type value_type;
158 nasty_list(size_type n, const value_type& value) : l_(n,value) {}
162 nasty_list(std::initializer_list<value_type> il) : l_(il) {}
168 nasty_list& operator=(std::initializer_list<value_type> il) { l_ = il; return *this; }
172 void assign(size_type n, const value_type& t) { l_.assign(n, t); }
174 void assign(std::initializer_list<value_type> il) { l_.assign(il); }
202 void push_front(const value_type& x) { l_.push_front(x); }
203 void push_back(const value_type& x) { l_.push_back(x); }
205 void push_back(value_type&& x) { l_.push_back(std::forward<value_type&&>(x)); }
206 void push_front(value_type&& x) { l_.push_back(std::forward<value_type&&>(x)); }
224 iterator insert(const_iterator pos, const value_type& x) { return l_.insert(pos, x); }
226 iterator insert(const_iterator pos, value_type&& x) { return l_.insert(pos, std::forward<value_type>(x)); }
228 iterator insert(const_iterator pos, size_type n, const value_type& x) { return l_.insert(pos, n, x); }
234 iterator insert(const_iterator pos, std::initializer_list<value_type> il) { return l_.insert(pos, il); }
241 void resize(size_type sz, const value_type& c) { l_.resize(c); }
257 // void remove(const value_type& value);