# std::basic_const_iterator<Iter>::base

> C++ Atlas: `cppatlas.com/w/cpp/iterator/basic_const_iterator/base` | Source: https://en.cppreference.com/w/cpp/iterator/basic_const_iterator/base | Domain: Iterator | Standards: C++23

Returns the underlying base iterator.

## Official Specification Summary (cppreference)

```cpp
constexpr const Iter& base() const& noexcept; // (1) (since C++23)
constexpr Iter base() &&; // (2) (since C++23)
```

Returns the underlying base iterator.

1) Returns a reference to the underlying iterator.

2) Move constructs the return value from the underlying iterator.

### Parameters

(none)

### Return value

1) A reference to the underlying iterator.

2) An iterator move constructed from the underlying iterator.

### Example

> Note: This section is incomplete Reason: no example

### See also

- [`operator*`](https://en.cppreference.com/w/cpp/iterator/basic_const_iterator/operator*), [`operator->`](https://en.cppreference.com/w/cpp/iterator/basic_const_iterator/operator*): accesses the pointed-to element (public member function)

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