
3 Dec
2016
3 Dec
'16
5:56 p.m.
Klemens Morgenstern wrote:
But really having a void* as part of a public interface would've given you a no, even if everything else was perfect with this library.
This objection of yours doesn't make much sense to me. What problem are you trying to prevent? Objects of different types don't typically share the same address, so type safety can hardly be violated. Well, I suppose you could use the wrong member of a union by mistake.