Issue 9336 - Format should work on shared address. #1098

Merged
merged 1 commit into from Jan 27, 2013

Conversation

Projects
None yet
2 participants
@ghost

ghost commented Jan 25, 2013

http://d.puremagic.com/issues/show_bug.cgi?id=9336

I don't think it will cause any problems having the pointer typed to its element type rather than typed to void, since:

pointer -> qualifier -> type

implicitly converts to:

pointer -> qualifier -> void

If this isn't always true than we could either force a cast to const(void*) or use some kind of template helper to extract a const(qualified(pointer to void)). Anyway the address is formatted and not the pointed value so I don't think the pointed type is all that important.

alexrp merged commit 9e42f2a into dlang:master Jan 27, 2013

1 check passed

default Pass: 10
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment