# std::ranges::join_with_view<V,Pattern>::sentinel

> C++ Atlas: `cppatlas.com/w/cpp/ranges/join_with_view/sentinel` | Source: https://en.cppreference.com/w/cpp/ranges/join_with_view/sentinel | Domain: Ranges | Standards: C++23

ranges::join_with_view<V, Pattern>::sentinel is the type of the sentinels returned by end() of ranges::join_with_view<V, Pattern>.

## Official Specification Summary (cppreference)

```cpp
template< bool Const >
class /*sentinel*/ // (exposition only*)
```

`ranges::join_with_view<V, Pattern>::sentinel` is the type of the sentinels returned by `end()` of `ranges::join_with_view<V, Pattern>`.

If an iterator compares equal with a sentinel, the iterator is a past-the-end iterator.

### Template parameters

- `Const` - whether the sentinel corresponds to a constant iterator

### Nested types

**Name — Definition**

- `Parent`: `maybe-const` `<Const, ranges::join_with_view<V, Pattern>>` (exposition-only member type*)
- `Base`: `maybe-const` `<Const, V>` (exposition-only member type*)

### Data members

**Member — Description**

- `ranges::sentinel_t<Base` `>` `end_`: the sentinel of the parent range (exposition-only member object*)

### Member functions

- (constructor): constructs a sentinel (public member function)

### Non-member functions

- `operator==` (C++23): compares a sentinel with an iterator returned from `join_with_view::begin` (function)

---
Attribution: content from https://en.cppreference.com/w/cpp/ranges/join_with_view/sentinel (cppreference.com), licensed under CC-BY-SA 3.0 and GFDL. Modified: converted to markdown, study notes added. Offline snapshot of 9 February 2025.