Skip to content

feat(post): views::enumerate against zip(iota, r) (26 Dec) - #291

Open
filipsajdak wants to merge 2 commits into
mainfrom
feat/post-enumerate-zip-or-views
Open

filipsajdak wants to merge 2 commits into
mainfrom
feat/post-enumerate-zip-or-views

Conversation

@filipsajdak

Copy link
Copy Markdown
Contributor

Adds the 26 Dec 2026 post: views::enumerate is sized and common, zip(iota, r) is neither.

Visual: none, because the change is one post and its social cards; the cards are in social/*/enumerate-zip-iota-or-views-enumerate/.

What is in it

  • The post, starting from a LinkedIn post by Alex Dathskovsky, named once in the lead.
  • LinkedIn and Facebook cards, captions and the OG image.

Verification

  • prose-lint on the post and both captions: no ERROR. check-pubdates, check-llms-sync, check-social-render and NODE_ENV=production npm run build passed in the worktree.
  • Every Compiler Explorer embed was compared byte for byte with its example file.
  • Claims about the LinkedIn post were checked against the screenshots (OCR of the text).

Limits

  • Do not merge yet: it waits for the owner's go. The examples link is pinned to the merge commit of the examples PR first.
  • The author link is a placeholder comment in the lead until the LinkedIn URL is supplied.
  • Nothing is queued in Buffer.

Mutation: none, because the change is content only.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Ju4yEXENcZNaSNEQWEri2X

filipsajdak and others added 2 commits November 18, 2026 00:46
…ther

Compares the hand-written zip(iota, r) enumerate with std::views::enumerate on
GCC 16.2, libc++ 24.0 trunk and libc++ 22.1: range properties, the compile
errors the missing size and common end cause, iterator steps of ranges::to,
and a bounded iota that brings size back.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ju4yEXENcZNaSNEQWEri2X
…ate post

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ju4yEXENcZNaSNEQWEri2X

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant