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

merged 1 commit into from Jan 27, 2013


None yet
2 participants

ghost commented Jan 25, 2013

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment