Lines Matching full:noexcept
38 String() noexcept;
39 String(const String &) noexcept;
40 String(String &&) noexcept;
41 ~String() noexcept;
50 static String lossy(const std::string &) noexcept;
51 static String lossy(const char *) noexcept;
52 static String lossy(const char *, std::size_t) noexcept;
53 static String lossy(const char16_t *) noexcept;
54 static String lossy(const char16_t *, std::size_t) noexcept;
56 String &operator=(const String &) &noexcept;
57 String &operator=(String &&) &noexcept;
62 const char *data() const noexcept;
63 std::size_t size() const noexcept;
64 std::size_t length() const noexcept;
65 bool empty() const noexcept;
67 const char *c_str() noexcept;
69 std::size_t capacity() const noexcept;
70 void reserve(size_t new_cap) noexcept;
73 iterator begin() noexcept;
74 iterator end() noexcept;
77 const_iterator begin() const noexcept;
78 const_iterator end() const noexcept;
79 const_iterator cbegin() const noexcept;
80 const_iterator cend() const noexcept;
82 bool operator==(const String &) const noexcept;
83 bool operator!=(const String &) const noexcept;
84 bool operator<(const String &) const noexcept;
85 bool operator<=(const String &) const noexcept;
86 bool operator>(const String &) const noexcept;
87 bool operator>=(const String &) const noexcept;
89 void swap(String &) noexcept;
92 String(unsafe_bitcopy_t, const String &) noexcept;
96 String(lossy_t, const char *, std::size_t) noexcept;
97 String(lossy_t, const char16_t *, std::size_t) noexcept;
98 friend void swap(String &lhs, String &rhs) noexcept { lhs.swap(rhs); } in swap()
110 Str() noexcept;
111 Str(const String &) noexcept;
116 Str &operator=(const Str &) &noexcept = default;
121 const char *data() const noexcept;
122 std::size_t size() const noexcept;
123 std::size_t length() const noexcept;
124 bool empty() const noexcept;
127 Str(const Str &) noexcept = default;
128 ~Str() noexcept = default;
132 const_iterator begin() const noexcept;
133 const_iterator end() const noexcept;
134 const_iterator cbegin() const noexcept;
135 const_iterator cend() const noexcept;
137 bool operator==(const Str &) const noexcept;
138 bool operator!=(const Str &) const noexcept;
139 bool operator<(const Str &) const noexcept;
140 bool operator<=(const Str &) const noexcept;
141 bool operator>(const Str &) const noexcept;
142 bool operator>=(const Str &) const noexcept;
144 void swap(Str &) noexcept;
148 Str(uninit) noexcept;
162 copy_assignable_if() noexcept = default;
163 copy_assignable_if(const copy_assignable_if &) noexcept = default;
164 copy_assignable_if &operator=(const copy_assignable_if &) &noexcept = delete;
165 copy_assignable_if &operator=(copy_assignable_if &&) &noexcept = default;
176 Slice() noexcept;
177 Slice(T *, std::size_t count) noexcept;
179 Slice &operator=(const Slice<T> &) &noexcept = default;
180 Slice &operator=(Slice<T> &&) &noexcept = default;
182 T *data() const noexcept;
183 std::size_t size() const noexcept;
184 std::size_t length() const noexcept;
185 bool empty() const noexcept;
187 T &operator[](std::size_t n) const noexcept;
189 T &front() const noexcept;
190 T &back() const noexcept;
193 Slice(const Slice<T> &) noexcept = default;
194 ~Slice() noexcept = default;
197 iterator begin() const noexcept;
198 iterator end() const noexcept;
200 void swap(Slice &) noexcept;
204 Slice(uninit) noexcept;
206 friend void sliceInit(void *, const void *, std::size_t) noexcept;
207 friend void *slicePtr(const void *) noexcept;
208 friend std::size_t sliceLen(const void *) noexcept;
222 reference operator*() const noexcept;
223 pointer operator->() const noexcept;
224 reference operator[](difference_type) const noexcept;
226 iterator &operator++() noexcept;
227 iterator operator++(int) noexcept;
228 iterator &operator--() noexcept;
229 iterator operator--(int) noexcept;
231 iterator &operator+=(difference_type) noexcept;
232 iterator &operator-=(difference_type) noexcept;
233 iterator operator+(difference_type) const noexcept;
234 iterator operator-(difference_type) const noexcept;
235 difference_type operator-(const iterator &) const noexcept;
237 bool operator==(const iterator &) const noexcept;
238 bool operator!=(const iterator &) const noexcept;
239 bool operator<(const iterator &) const noexcept;
240 bool operator<=(const iterator &) const noexcept;
241 bool operator>(const iterator &) const noexcept;
242 bool operator>=(const iterator &) const noexcept;
262 Box(Box &&) noexcept;
263 ~Box() noexcept;
268 Box &operator=(Box &&) &noexcept;
270 const T *operator->() const noexcept;
271 const T &operator*() const noexcept;
272 T *operator->() noexcept;
273 T &operator*() noexcept;
278 void swap(Box &) noexcept;
282 static Box from_raw(T *) noexcept;
284 T *into_raw() noexcept;
291 Box(uninit) noexcept;
292 void drop() noexcept;
294 friend void swap(Box &lhs, Box &rhs) noexcept { lhs.swap(rhs); }
307 Vec() noexcept;
310 Vec(Vec &&) noexcept;
311 ~Vec() noexcept;
313 Vec &operator=(Vec &&) &noexcept;
316 std::size_t size() const noexcept;
317 bool empty() const noexcept;
318 const T *data() const noexcept;
319 T *data() noexcept;
320 std::size_t capacity() const noexcept;
322 const T &operator[](std::size_t n) const noexcept;
324 const T &front() const noexcept;
325 const T &back() const noexcept;
327 T &operator[](std::size_t n) noexcept;
329 T &front() noexcept;
330 T &back() noexcept;
341 iterator begin() noexcept;
342 iterator end() noexcept;
345 const_iterator begin() const noexcept;
346 const_iterator end() const noexcept;
347 const_iterator cbegin() const noexcept;
348 const_iterator cend() const noexcept;
350 void swap(Vec &) noexcept;
353 Vec(unsafe_bitcopy_t, const Vec &) noexcept;
356 void reserve_total(std::size_t new_cap) noexcept;
357 void set_len(std::size_t len) noexcept;
358 void drop() noexcept;
360 friend void swap(Vec &lhs, Vec &rhs) noexcept { lhs.swap(rhs); }
375 Ret operator()(Args... args) const noexcept;
376 Fn operator*() const noexcept;
379 Ret (*trampoline)(Args..., void *fn) noexcept;
390 Error(Error &&) noexcept;
391 ~Error() noexcept override;
394 Error &operator=(Error &&) &noexcept;
396 const char *what() const noexcept override;
399 Error() noexcept = default;
496 Ret Fn<Ret(Args...)>::operator()(Args... args) const noexcept {
501 Fn<Ret(Args...)> Fn<Ret(Args...)>::operator*() const noexcept {
521 Slice<T>::Slice() noexcept {
526 Slice<T>::Slice(T *s, std::size_t count) noexcept {
536 T *Slice<T>::data() const noexcept {
541 std::size_t Slice<T>::size() const noexcept {
546 std::size_t Slice<T>::length() const noexcept {
551 bool Slice<T>::empty() const noexcept {
556 T &Slice<T>::operator[](std::size_t n) const noexcept {
571 T &Slice<T>::front() const noexcept {
577 T &Slice<T>::back() const noexcept {
584 Slice<T>::iterator::operator*() const noexcept {
590 Slice<T>::iterator::operator->() const noexcept {
596 typename Slice<T>::iterator::difference_type n) const noexcept {
602 typename Slice<T>::iterator &Slice<T>::iterator::operator++() noexcept {
608 typename Slice<T>::iterator Slice<T>::iterator::operator++(int) noexcept {
615 typename Slice<T>::iterator &Slice<T>::iterator::operator--() noexcept {
621 typename Slice<T>::iterator Slice<T>::iterator::operator--(int) noexcept {
629 typename Slice<T>::iterator::difference_type n) noexcept {
636 typename Slice<T>::iterator::difference_type n) noexcept {
643 typename Slice<T>::iterator::difference_type n) const noexcept {
651 typename Slice<T>::iterator::difference_type n) const noexcept {
659 Slice<T>::iterator::operator-(const iterator &other) const noexcept {
667 bool Slice<T>::iterator::operator==(const iterator &other) const noexcept {
672 bool Slice<T>::iterator::operator!=(const iterator &other) const noexcept {
677 bool Slice<T>::iterator::operator<(const iterator &other) const noexcept {
682 bool Slice<T>::iterator::operator<=(const iterator &other) const noexcept {
687 bool Slice<T>::iterator::operator>(const iterator &other) const noexcept {
692 bool Slice<T>::iterator::operator>=(const iterator &other) const noexcept {
697 typename Slice<T>::iterator Slice<T>::begin() const noexcept {
705 typename Slice<T>::iterator Slice<T>::end() const noexcept {
712 void Slice<T>::swap(Slice &rhs) noexcept {
724 static T *alloc() noexcept;
725 static void dealloc(T *) noexcept;
728 allocation() noexcept : ptr(alloc()) {}
729 ~allocation() noexcept {
738 Box<T>::Box(Box &&other) noexcept : ptr(other.ptr) {
759 Box<T>::~Box() noexcept {
766 Box<T> &Box<T>::operator=(Box &&other) &noexcept {
776 const T *Box<T>::operator->() const noexcept {
781 const T &Box<T>::operator*() const noexcept {
786 T *Box<T>::operator->() noexcept {
791 T &Box<T>::operator*() noexcept {
806 void Box<T>::swap(Box &rhs) noexcept {
812 Box<T> Box<T>::from_raw(T *raw) noexcept {
819 T *Box<T>::into_raw() noexcept {
826 Box<T>::Box(uninit) noexcept {}
844 Vec<T>::Vec(Vec &&other) noexcept : repr(other.repr) {
849 Vec<T>::~Vec() noexcept {
854 Vec<T> &Vec<T>::operator=(Vec &&other) &noexcept {
871 bool Vec<T>::empty() const noexcept {
876 T *Vec<T>::data() noexcept {
881 const T &Vec<T>::operator[](std::size_t n) const noexcept {
896 const T &Vec<T>::front() const noexcept {
902 const T &Vec<T>::back() const noexcept {
908 T &Vec<T>::operator[](std::size_t n) noexcept {
923 T &Vec<T>::front() noexcept {
929 T &Vec<T>::back() noexcept {
966 typename Vec<T>::iterator Vec<T>::begin() noexcept {
971 typename Vec<T>::iterator Vec<T>::end() noexcept {
976 typename Vec<T>::const_iterator Vec<T>::begin() const noexcept {
981 typename Vec<T>::const_iterator Vec<T>::end() const noexcept {
986 typename Vec<T>::const_iterator Vec<T>::cbegin() const noexcept {
991 typename Vec<T>::const_iterator Vec<T>::cend() const noexcept {
996 void Vec<T>::swap(Vec &rhs) noexcept {
1003 Vec<T>::Vec(unsafe_bitcopy_t, const Vec &bits) noexcept : repr(bits.repr) {}