int** should be compatible to void**?

Walter Bright newshound2 at digitalmars.com
Wed Jan 22 00:58:14 PST 2014


On 1/22/2014 12:36 AM, Katayama Hirofumi MZ wrote:
> Hello, this is a Japanese programmer, katahiromz.
>
> If TYPE1 was compatible to TYPE2, I think TYPE1* should be compatible to TYPE2*.
>
> Why isn't int** type compatible to void** type?


While void is untyped data, void* is definitely typed data.


More information about the Digitalmars-d mailing list