Hacker News new | ask | show | jobs
by Gladdyu 2735 days ago
Would this not require all impls to be in the same translation unit or the linker has to be explicitly aware of it?
1 comments

In case of embedded firmware, all impls will be in same unit. In case of a program with linked libraries, only main program will know sizes of all possible impls.