@brief Swaps data with the given basic_str_view object. @param other A basic_str_view object to swap data with.
| 2424 | /// @brief Swaps data with the given basic_str_view object. |
| 2425 | /// @param other A basic_str_view object to swap data with. |
| 2426 | void swap(basic_str_view& other) noexcept { |
| 2427 | auto tmp = *this; |
| 2428 | *this = other; |
| 2429 | other = tmp; |
| 2430 | } |
| 2431 | |
| 2432 | /// @brief Copys the referenced character sequence values from `pos` by `n` size. |
| 2433 | /// @warning Throws an fkyaml::out_of_range exception if the given `pos` is bigger than the length. |