# std::ranges::concat_view<Views...>::iterator<Const>::operator[]

> C++ Atlas: `cppatlas.com/w/cpp/ranges/concat_view/iterator/operator_at` | Source: https://en.cppreference.com/w/cpp/ranges/concat_view/iterator/operator_at | Domain: Ranges | Standards: C++26

Returns a reference to an element at specified relative location.

## Official Specification Summary (cppreference)

```cpp
constexpr decltype(auto) operator[]( difference_type pos ) const
    requires /*concat-is-random-access*/<Const, Views...>; // (since C++26)
```

Returns a reference to an element at specified relative location.

### Parameters

- `pos` - position relative to current location

### Return value

`*((*this) + pos)`

### Example

> Note: This section is incomplete Reason: no example

### See also

- [`operator*`](https://en.cppreference.com/w/cpp/ranges/concat_view/iterator/operator*) (C++26): accesses the element (public member function)

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