2 ms·
This thread is getting confusing. Your original point was that for binary compatibility you write against the C ABI. I'm claiming that the C ABI has exactly th
by gpderetta 6y ago
This thread is getting confusing.
Your original point was that for binary compatibility you write against the C ABI. I'm claiming that the C ABI has exactly the same fragile layout limitations and you can use the exact same workarounds in C++ (i.e. only expose pointers or make sure that your layout doesn't change).
I'm also claiming that templates are a red herring and have very little to do with ABI.