style(*): fix some comments and static_assert errors
This commit is contained in:
parent
93b3a17f06
commit
87e48e5ca1
@ -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>>>);
|
||||
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user