---
name: "std::weakly_incrementable"
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::weakly_incrementable"
---

# std::weakly\_incrementable(3)

Requirements on types that can be incremented with ++.

## NAME

std::weakly\_incrementable - Requirements on types that can be incremented with ++.

## SYNOPSIS

\#include \<iterator\>

## Concept definition

```
    template<typename _Iter>
    concept weakly_incrementable = movable<_Iter>
      && requires(_Iter __i)
      {
        typename iter_difference_t<_Iter>;
        requires __detail::__is_signed_integer_like<iter_difference_t<_Iter>>;
        { ++__i } -> same_as<_Iter&>;
        __i++;
      }
```

## Detailed Description

Requirements on types that can be incremented with ++.

## Author

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