logoalt Hacker News

zabzonktoday at 1:27 AM1 replyview on HN

Then why not define "something" as static, which makes the compiler and linker guarantee that you can't do it?


Replies

bigfishrunningtoday at 1:33 AM

What if I want to internally access it from multiple compilation units, but not necessarily encourage downstream users from using it? This is really common.