SortedSet: use simple, stupid, straighforward Enumerable::ForEach instead unrealiable, esoteric, questionable StlEnumeratorAdapter
SortedSet: use simple, stupid, straighforward Enumerable::ForEach instead unrealiable, esoteric, questionable StlEnumeratorAdapter

Just want to use SortedSet(IEnumerablePtr).
But saw implementation.
StlEnumeratorAdapter::operator!= is fucking shitty logic.
"Our user call only not_equal_operator with only one possible arguments order".

If someone get Wrap() and WrapEnd() as begin/end iterator and
simply calls 'end != begin' he will get "very nice" NotImplementedException.
And we will know it ONLY in runtime.

If someone call operator== - compile fails.
But if compare order changes - compile ok. Fail in runtime.

This is SHIT.

GSGroup/stingraykit,GSGroup/stingraykit