mirror of
https://github.com/microsoft/GSL
synced 2026-08-26 04:23:04 -04:00
docs: fix http:// to https:// in CppCoreGuidelines links (#1267)
Changed 3 instances of http://isocpp.github.io to https://isocpp.github.io in docs/headers.md to use secure HTTPS protocol for links to C++ Core Guidelines.
This commit is contained in:
parent
3c1fad21e2
commit
ea559a3561
1 changed files with 3 additions and 3 deletions
|
|
@ -450,7 +450,7 @@ not_null& operator+=(std::ptrdiff_t) = delete;
|
|||
not_null& operator-=(std::ptrdiff_t) = delete;
|
||||
```
|
||||
|
||||
Explicitly deleted operators. Pointers point to single objects ([I.13: Do not pass an array as a single pointer](http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#ri-array)), so don't allow these operators.
|
||||
Explicitly deleted operators. Pointers point to single objects ([I.13: Do not pass an array as a single pointer](https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#ri-array)), so don't allow these operators.
|
||||
|
||||
##### Observers
|
||||
|
||||
|
|
@ -472,7 +472,7 @@ Dereference the underlying pointer.
|
|||
void operator[](std::ptrdiff_t) const = delete;
|
||||
```
|
||||
|
||||
Array index operator is explicitly deleted. Pointers point to single objects ([I.13: Do not pass an array as a single pointer](http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#ri-array)), so don't allow treating them as an array.
|
||||
Array index operator is explicitly deleted. Pointers point to single objects ([I.13: Do not pass an array as a single pointer](https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#ri-array)), so don't allow treating them as an array.
|
||||
|
||||
```cpp
|
||||
void swap(not_null<T>& other) { std::swap(ptr_, other.ptr_); }
|
||||
|
|
@ -547,7 +547,7 @@ template <class T>
|
|||
not_null<T> operator+(std::ptrdiff_t, const not_null<T>&) = delete;
|
||||
```
|
||||
|
||||
Addition and subtraction are explicitly deleted. Pointers point to single objects ([I.13: Do not pass an array as a single pointer](http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#ri-array)), so don't allow these operators.
|
||||
Addition and subtraction are explicitly deleted. Pointers point to single objects ([I.13: Do not pass an array as a single pointer](https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#ri-array)), so don't allow these operators.
|
||||
|
||||
##### STL integration
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue