# std::experimental::basic_string_view<CharT,Traits>::back

> C++ Atlas: `cppatlas.com/w/cpp/experimental/basic_string_view/back` | Source: https://en.cppreference.com/w/cpp/experimental/basic_string_view/back | Domain: Technical specifications

Returns reference to the last character in the view.

## Official Specification Summary (cppreference)

```cpp
constexpr const_reference back() const; // (library fundamentals TS)
```

Returns reference to the last character in the view.

### Parameters

(none)

### Return value

Reference to the last character, equivalent to `operator[](size() - 1)`.

### Complexity

Constant.

### See also

- [`front`](https://en.cppreference.com/w/cpp/experimental/basic_string_view/front): accesses the first character (public member function)

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