Reputation: 15042
Windows Runtime introduced new ref objects that use the ^
notation which is basically a smart pointer according to the docs. I'm trying to output some debugging information and I'd like to print the memory address of one of these C++/CX ref objects. How can I do that?
Upvotes: 1
Views: 535
Reputation: 15042
The answer was given by Hans Passant in a comment, it is: Just cast to void*
to get a raw pointer value.
Upvotes: 2