tmp/tmp5vau3i98/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
### Default sentinels <a id="default.sentinels">[[default.sentinels]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
namespace std {
|
| 5 |
+
struct default_sentinel_t { };
|
| 6 |
+
}
|
| 7 |
+
```
|
| 8 |
+
|
| 9 |
+
Class `default_sentinel_t` is an empty type used to denote the end of a
|
| 10 |
+
range. It can be used together with iterator types that know the bound
|
| 11 |
+
of their range (e.g., `counted_iterator` [[counted.iterator]]).
|
| 12 |
+
|