add items to the vector, from a span, without bounds checking
| 1916 | } |
| 1917 | // add items to the vector, from a span, without bounds checking |
| 1918 | FASTFLOAT_CONSTEXPR20 void extend_unchecked(limb_span s) noexcept { |
| 1919 | limb* ptr = data + length; |
| 1920 | std::copy_n(s.ptr, s.len(), ptr); |
| 1921 | set_len(len() + s.len()); |
| 1922 | } |
| 1923 | // try to add items to the vector, returning if items were added |
| 1924 | FASTFLOAT_CONSTEXPR20 bool try_extend(limb_span s) noexcept { |
| 1925 | if (len() + s.len() <= capacity()) { |