mirror of
https://github.com/microsoft/GSL.git
synced 2025-03-14 04:13:35 -04:00
Using `<`,`<=`,`>`,`>=` to compare unrelated pointers gives an unspecified result according to the standard. This PR replaces the usage of these operators in `gsl::not_null` with the STL counterparts, which would leverage any implementation-defined strict total ordering for pointers. Resolves #880