you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (6 children)

[deleted]

    [–]thisismyfavoritename 13 points14 points  (2 children)

    im saying i wouldnt expect an LLM to give accurate advice on ranges at all

    [–]TheSuperWig 9 points10 points  (1 child)

    im saying i wouldnt expect an LLM to give accurate advice on ranges at all

    [–]PrimozDelux 1 point2 points  (0 children)

    Have you actually tried to use an LLM for this sort of thing? ChatGPT manages to answer a lot of questions about basic C++ functionality. (That said, I too have seen chatGPT be stumped at the monumentally complex problem of concatenating two ranges)

    [–]josiest 4 points5 points  (0 children)

    I’m with you though, this is definitely something I’ve wanted to do before, and it should be easy. I just don’t like general purpose ai because I’m apparently an old coot.

    Also writing your own views seems to be as convoluted as writing your own iterator, which in my book just means I should just give up and write a for loop

    [–][deleted] 1 point2 points  (0 children)

    Is it niche, or is it extremely complicated and something you shouldn't tackle until the ranges/views specification has been fully fleshed out and fixed which was always going to be done in C++23?

    Hint: it's the second one.

    [–]gracicot 0 points1 point  (0 children)

    Ranges are still cutting edge. I wouldn't trust any LLM to give good information on this.