feat(containers): add TArray::Reference and TArray::ConstReference etc

This commit is contained in:
2023-03-01 18:32:32 +08:00
parent a15ff69809
commit 7a8a1648d1
3 changed files with 12 additions and 4 deletions

View File

@ -22,7 +22,10 @@ struct TStaticArray final
{
using ElementType = T;
using Reference = T&;
using ConstReference = const T&;
using Iterator = TArrayView< T, N>::Iterator;
using ConstIterator = TArrayView<const T, N>::Iterator;