3 ms·
Both points are related and matter. For most purposes, not being able to access something, and being able to access something not officially in an interface, w
by Nevermark 8mo ago
Both points are related and matter.
For most purposes, not being able to access something, and being able to access something not officially in an interface, where doing so introduces an unpredictable breaking dependency, the practical result is the same: You can't (actually/sensibly) do it.
- zabzonk 8mo agoThen why not define "something" as static, which makes the compiler and linker guarantee that you can't do it?
- bigfishrunning 8mo agoWhat if I want to internally access it from multiple compilation units, but not necessarily encourage downstream users from using it? This is really common.