I tested whether a coding agent would use C++23 ranges without being told
Blog post: https://kemalbektas.dev/ai-modern-features/
I tested whether coding agents would actually use C++23 ranges without being told.
They mostly didn’t. What changed things much more than the surrounding codebase was a short AGENTS.md asking for modern C++.
0
Upvotes
View all comments
3
u/gegoggigog Oct 13 '26
Not saying the agent cared, but ranges do have some overhead, so if the task could be solved easily enough without them, why introduce them in the first place?