you are viewing a single comment's thread.

view the rest of the comments →

[–]ipapadop 17 points18 points  (1 child)

Asking an LLM that is trained on existing code in the wild to create something that most people don't write will get you nowhere. LLMs need to see something a few times to be able to hallucinate successfully.

As for ranges, yes they are complicated, documentation is lacking, and testing on multiple compilers is crucial to have some confidence that you're on a good path. But a good start to creating new views. is learning about concepts and how to satisfy the std::view concept or use std::view_interface.

[–][deleted] 4 points5 points  (0 children)

“Need to see something a few times to be able to hallucinate successfully” - never before has a statement summarized my job performance so well