style(*): fix some comments and static_assert errors

This commit is contained in:
Redstone1024 2024-12-18 21:21:10 +08:00
parent 93b3a17f06
commit 87e48e5ca1
2 changed files with 5 additions and 5 deletions

View File

@ -134,7 +134,7 @@ static_assert(CBidirectionalIterator<TCountedIterator<IBidirectionalIterator<int
static_assert( CRandomAccessIterator<TCountedIterator< IRandomAccessIterator<int&>>>);
static_assert( CContiguousIterator<TCountedIterator< IContiguousIterator<int&>>>);
//static_assert(COutputIterator<TCountedIterator<IOutputIterator<int&>>, int>);
static_assert(COutputIterator<TCountedIterator<IOutputIterator<int&>>, int>);
static_assert(CSizedSentinelFor<TCountedIterator<IForwardIterator<int>>, TCountedIterator<IForwardIterator<int>>>);

View File

@ -277,12 +277,12 @@ concept CSizedRange = CRange<R>
template <CInputOrOutputIterator I, CSizedSentinelFor<I> S = ISizedSentinelFor<I>>
struct ISizedRange /* : IRange<I, S> */
{
// ~Begin CRange
// ~Begin CRange.
I Begin() /* const */;
S End() /* const */;
// ~End CRange
// ~End CRange.
/**
* Get the number of elements in the range.
@ -344,12 +344,12 @@ concept CContiguousRange = CRandomAccessRange<R> && CContiguousIterator<TRangeIt
template <CContiguousIterator I, CSentinelFor<I> S = ISentinelFor<I>>
struct IContiguousRange /* : IRange<I, S> */
{
// ~Begin CRange
// ~Begin CRange.
I Begin() /* const */;
S End() /* const */;
// ~End CRange
// ~End CRange.
/**
* Get the pointer to the container element storage.