diff --git a/Redcraft.Utility/Source/Public/Range/Utility.h b/Redcraft.Utility/Source/Public/Range/Utility.h index 0003368..b272130 100644 --- a/Redcraft.Utility/Source/Public/Range/Utility.h +++ b/Redcraft.Utility/Source/Public/Range/Utility.h @@ -47,7 +47,6 @@ NAMESPACE_END(Range) template using TRangeIterator = decltype(Range::Begin(DeclVal())); - NAMESPACE_BEGIN(Range) /** @return The iterator to the end of a container. */ @@ -355,16 +354,16 @@ struct IContiguousRange /* : IRange */ // Use IContiguousRange<...> represents a contiguous range type. static_assert(CContiguousRange>>); -/** A concept specifies a type is a range and its iterators and sentinel types are the same. */ +/** A concept specifies a type is a range and its iterator and sentinel types are the same. */ template concept CCommonRange = CRange && CSameAs, TRangeSentinel>; /** This is an example of a common range type, indicate the traits that define a common range type. */ template -using TCommonRange = IRange; +using ICommonRange = IRange; // Use TCommonRange<...> represents a common range type. -static_assert(CCommonRange>>); +static_assert(CCommonRange>>); NAMESPACE_MODULE_END(Utility) NAMESPACE_MODULE_END(Redcraft)