GSL/include/gsl
Werner Henze 87e21400dc
remove gcc noexcept warning (#1122)
Without this change a `gsl::not_null<class_type>` triggers these `noexcept` warnings:
```
.../gsl/include/gsl/pointers:162:50: warning: noexcept-expression evaluates to ‘false’ because of a call to ‘constexpr gsl::details::value_or_reference_return_t<T> gsl::not_null<T>::get() const [with T = class_type*; gsl::details::value_or_reference_return_t<T> = class_type* const]’ [-Wnoexcept]
  162 |                 const not_null<U>& rhs) noexcept(noexcept(lhs.get() == rhs.get()))
      |                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.../gsl/include/gsl/pointers:119:55: note: but ‘constexpr gsl::details::value_or_reference_return_t<T> gsl::not_null<T>::get() const [with T = class_type*; gsl::details::value_or_reference_return_t<T> = class_type* const]’ does not throw; perhaps it should be declared ‘noexcept’
  119 |     constexpr details::value_or_reference_return_t<T> get() const
      |                                                       ^~~
```

Co-authored-by: Werner Henze <w.henze@avm.de>
2023-06-28 15:17:12 -07:00
..
algorithm quoted form of #include when GSL includes GSL files (#1030) 2022-01-31 13:06:42 -08:00
assert Documentation (#1086) 2023-02-17 10:38:34 -08:00
byte simplify to_byte (#1090) 2023-02-14 14:10:56 -08:00
gsl Deprecate <gsl/string_span> and replace with <gsl/zstring> (#1125) 2023-06-28 10:48:23 -07:00
narrow Document potentially confusing behavior in gsl::narrow (#1073) 2022-12-24 11:49:26 -08:00
pointers remove gcc noexcept warning (#1122) 2023-06-28 15:17:12 -07:00
span Remove unnecessary check from size_bytes() (#1105) 2023-05-09 09:05:26 -07:00
span_ext Deprecate the Ptr make_span overloads (#1113) 2023-05-22 10:48:41 -07:00
string_span Deprecate <gsl/string_span> and replace with <gsl/zstring> (#1125) 2023-06-28 10:48:23 -07:00
util Fix max macro collision (#1081) 2023-01-19 13:17:39 -08:00
zstring Deprecate <gsl/string_span> and replace with <gsl/zstring> (#1125) 2023-06-28 10:48:23 -07:00