Hacker News new | ask | show | jobs
by isidor3 1041 days ago
From that same post, though, referencing the C 11 standard

> "All pointers to structure types shall have the same representation and alignment requirements as each other."

And so the concern wouldn't apply to this pattern?

1 comments

Traditionally, pointers to functions were an exception. But I haven't red the new standards. I just assume pointers aren't all the same size, and don't try to rely on their size.