# std::layout_left::mapping<Extents>::extents

> C++ Atlas: `cppatlas.com/w/cpp/container/mdspan/layout_left/mapping/extents` | Source: https://en.cppreference.com/w/cpp/container/mdspan/layout_left/mapping/extents | Domain: Containers | Standards: C++23

Returns a const reference to the extents object. Equivalent to return extents_;.

## Official Specification Summary (cppreference)

```cpp
constexpr const extents_type& extents() const noexcept; // (since C++23)
```

Returns a const reference to the extents object. Equivalent to `return extents_;`.

### Parameters

(none)

### Return value

A const reference to the extents.

### Example

> Note: This section is incomplete Reason: no example

### See also

- [`extents`](https://en.cppreference.com/w/cpp/container/mdspan/extents_mfun): obtains the extents object (public member function of `std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>`)

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