style(range): fix comment noun error

This commit is contained in:
Redstone1024 2024-12-18 17:38:05 +08:00
parent dff6050a3b
commit 6ea768781d
3 changed files with 5 additions and 5 deletions

View File

@ -21,7 +21,7 @@ NAMESPACE_BEGIN(Range)
/**
* A view adapter that consists of the elements of a range that satisfies a predicate.
* When based on an input view, the filter view satisfies at least an input view up to a bidirectional view.
* When based on a common view, the counted iterator satisfies a common view.
* When based on a common view, the filter view satisfies a common view.
*/
template <CInputRange V, CPredicate<TRangeReference<V>> Pred> requires (CView<V> && CObject<Pred> && CMoveConstructible<Pred>)
class TFilterView : public IBasicViewInterface<TFilterView<V, Pred>>

View File

@ -19,8 +19,8 @@ NAMESPACE_BEGIN(Range)
/**
* A view adapter which dereferences to a rvalue reference.
* When based on an input view, the filter view satisfies at least an input view up to a random access view.
* When based on a common view, the counted iterator satisfies a common view.
* When based on an input view, the move view satisfies at least an input view up to a random access view.
* When based on a common view, the move view satisfies a common view.
*/
template <CInputRange V> requires (CView<V>)
class TMoveView : public IBasicViewInterface<TMoveView<V>>

View File

@ -18,8 +18,8 @@ NAMESPACE_BEGIN(Range)
/**
* A view adapter of a sequence that applies a transformation function to each element.
* When based on an input view, the transform view satisfies at least an input view up to a random access view.
* When based on a common view, the counted iterator satisfies a common view. When based on a sized view,
* the counted iterator satisfies a sized view. When based on a forward view and the function return
* When based on a common view, the transform view satisfies a common view. When based on a sized view,
* the transform view satisfies a sized view. When based on a forward view and the function return
* an assignable value, the transform view satisfies an output view.
*/
template <CInputRange V, CMoveConstructible F> requires (CView<V> && CObject<F>