You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// @tparam R A range type whose elements are input ranges of `value_type`.
351
351
/// @param r The range of ranges to initialize from.
352
352
/// @post `size()` equals the number of outer range elements; `data_size()` is the sum of all element counts.
353
-
/// @exception std::bad_alloc May throw if memory allocation fails.
353
+
/// @throws std::bad_alloc May throw if memory allocation fails.
354
354
template <std::ranges::input_range R>
355
355
requires(std::ranges::input_range<std::ranges::range_reference_t<R>> and std::convertible_to<std::ranges::range_reference_t<std::ranges::range_reference_t<R>>, value_type>)
356
356
explicitflat_jagged_vector(R&& r) {
@@ -462,7 +462,7 @@ class flat_jagged_vector {
462
462
/// @param n The new number of segments.
463
463
/// @param r The range to initialize any newly appended segments with.
464
464
/// @post `size() == n`
465
-
/// @exception std::bad_alloc If memory allocation fails.
465
+
/// @throws std::bad_alloc If memory allocation fails.
466
466
///
467
467
/// > [!WARNING] Iterator invalidation
468
468
/// >
@@ -587,7 +587,7 @@ class flat_jagged_vector {
587
587
/// @brief Returns the segment at the given index with bounds checking.
588
588
/// @param seg The index of the segment.
589
589
/// @return A subrange representing the segment at index `seg`.
590
-
/// @exception std::out_of_range If `seg >= size()`.
590
+
/// @throws std::out_of_range If `seg >= size()`.
591
591
[[nodiscard]] segment_type at(size_type seg) {
592
592
this->_check_range(seg);
593
593
return (*this)[seg];
@@ -596,7 +596,7 @@ class flat_jagged_vector {
596
596
/// @brief Returns a const segment at the given index with bounds checking.
597
597
/// @param seg The index of the segment.
598
598
/// @return A const subrange representing the segment at index `seg`.
599
-
/// @exception std::out_of_range If `seg >= size()`.
0 commit comments