Re:More details on Microsoft's new M# language
by srj on Monday December 30, 2013 @09:04AM
(#6984618)
Using void* in C/C++ is to explicitly disable type checking for something like byte buffer i/o. Another circumstance is in a broad interface such as a callback method that will pass along an argument. In the latter case a top-level interface like 'object' is essentially the same thing and in both languages you can create APIs that don't have these catch-alls. What's the wisdom behind wanting to be protected from this construct?
[ Parent
| on HN ]
There are no comments on this comment yet.