Could you add post ++ for TCheckedPointerIterator to make it a standard iterator?

The absence of post ++ make TArray not compatible with some third-party libraries, because normally ++i, i++ would be both valid for an iterator type.

Is there any reason blocking post ++ for it?

I found that TDereferencingIterator doesn’t have it either.

Hi,

Do you mean post++? These were added to TCheckedPointerIterator a while ago: https://github.com/EpicGames/UnrealEngine/commit/2796d1b70ddcdd7b26393bffbce27cbf0cb9aa41

I can add them to TDereferencingIterator too.

> Is there any reason blocking pre++ for it?

No, but these were only ever added to implement ranged-based for syntax and not to support STL entirely (see the comment on containers’ begin() and end() functions that return these types). We don’t plan to make these full standard iterator types (member typedefs like iterator_category, iterator -> const_iterator conversions etc.) at this time.

Steve

> Do you mean post++?

Yes, sorry about the wrong description. It’s corrected now.

This change has now landed on GitHub:

https://github.com/EpicGames/UnrealEngine/commit/5f1d4a3d1f2a65ccd775fc8b9be745d4ae80b85a

Steve