mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
e3fecbd1c5
* constexpr all the things. * remove operator=(const T&) * it leaves *this in an invalid state if ensure_invariant fails * implicitly converting the T to not_null and then assigning is in every way superior. * simplify conversion from not_null<U> with constructor delegation. * remove the converting assignment operator; again let the conversion constructor and self-assignment operator do the work. * Cover the remaining pointer arithmetic operations as Wakely suggests in issue #447. * Cleanup not_null conversions from null pointer constants: * replace constructor that accepts T with constructor template that accepts U convertible to T * remove deleted constructor that accepts int * Attempts to initialize with nullptr, 0, 0L, 0LL, etc. all unambiguously select the deleted nullptr_t constructor. |
||
---|---|---|
.. | ||
gsl | ||
gsl_algorithm | ||
gsl_assert | ||
gsl_byte | ||
gsl_util | ||
multi_span | ||
span | ||
string_span |