I have implemented begin and end functions for MFC containers. The iterators are pointers to the internal data and may be null pointers for an empty container. What happens if both are null pointers and user compares them with < or <= ?
Other questions or their answers talking about comparisons of null-pointers with non-null pointers. This question is especially about comparing two null-pointers.
Furthermore it is of interest what the standard has to say about it.
nullptr < nullptrreturnsfalseandnullptr <= nullptrreturnstrue.std::lessfor that as suggested in the dupe answer, comparing any pointer value is fine