Namespaces
Variants

C++ named requirements: ConstexprIterator (since C++20)

From cppreference.net
C++ named requirements

一个 ConstexprIterator 是一种 LegacyIterator ,可在常量表达式求值期间使用。

要求

类型 It 满足 ConstexprIterator 的条件是:为满足 It 的迭代器类别要求所提供的所有操作均为 constexpr 函数。

标准库

以下标准库类型是 ConstexprIterator s

(自 C++26 起)

参见

迭代器库 提供迭代器、迭代器特征、适配器及工具函数的定义