---
name: "std::move_sentinel"
section: "3"
platform: "linux"
package: "gcc"
version: "16.2.1+r23+gd564253eb6c8-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/std::move_sentinel"
---

# std::move\_sentinel(3)

A sentinel adaptor for use with std::move\_iterator.

## NAME

std::move\_sentinel\< \_Sent \> - A sentinel adaptor for use with std::move\_iterator.

## SYNOPSIS

\#include \<iterator\>

### Public Member Functions

constexpr **move\_sentinel** (\_Sent \_\_s) noexcept(is\_nothrow\_move\_constructible\_v\< \_Sent \>)\
 template\<typename \_S2\> constexpr **move\_sentinel** (const move\_sentinel\< \_S2 \> &\_\_s) noexcept(is\_nothrow\_constructible\_v\< \_Sent, const \_S2 & \>)\
 constexpr \_Sent **base** () const noexcept(is\_nothrow\_copy\_constructible\_v\< \_Sent \>)\
 template\<typename \_S2\> constexpr move\_sentinel & **operator=** (const move\_sentinel\< \_S2 \> &\_\_s) noexcept(is\_nothrow\_assignable\_v\< \_Sent, const \_S2 & \>)\

## Detailed Description

### template\<semiregular \_Sent\>

class std::move\_sentinel\< \_Sent \>"A sentinel adaptor for use with std::move\_iterator.

## Author

Generated automatically by Doxygen for libstdc++ from the source code.
