---
name: "std::weakly_incrementable"
section: "3cxx"
platform: "linux"
package: "libstdc++-12-doc"
version: "12.4.0-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/std::weakly_incrementable/3cxx"
---

# std::weakly\_incrementable(3cxx)

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 std::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.
