determining type a pointer points to.

Stewart Gordon smjg_1998 at yahoo.com
Sun Aug 23 17:08:16 PDT 2009


Jarrett Billingsley wrote:
> On Sat, Aug 22, 2009 at 6:55 PM, Stewart Gordon<smjg_1998 at yahoo.com> wrote:
<snip>
>>    typeof(*p)
> 
> If p is int[], that gets you int instead of an error.  I have no idea why.

For everyone's benefit, the bug report is:
http://d.puremagic.com/issues/show_bug.cgi?id=1381

Stewart.


More information about the Digitalmars-d-learn mailing list