I am writing C ++ RandomAccessIterator for a custom array type. Since it does not work with std::sort and a simple int array, I would like to make sure that I executed it correctly.
Do you know about any iterator conformance testing scheme?
I have implemented every possible function or operator , and everything seems to be correct, but I will still miss something with sort() dereferences array::end()
source share