We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f17545 commit 6df30cbCopy full SHA for 6df30cb
reference/algorithm/ranges_find.md
@@ -59,7 +59,7 @@ namespace std::ranges {
59
60
int main() {
61
constexpr std::array v = { 3, 1, 4 };
62
- constexpr auto result = std::ranges::find(v, 1);
+ const auto result = std::ranges::find(v, 1);
63
if (result == v.end()) {
64
std::cout << "not found" << std::endl;
65
} else {
0 commit comments