Quick dlang.org investigation has found this:

http://dlang.org/phobos/std_exception.html#.pointsTo

Note:
Evaluating pointsTo(x, x) checks whether x has internal pointers. This should only be done as an assertive test, as the language is free to assume objects don't have internal pointers (TDPL 7.1.3.5).

I guess you may want to check mentioned TDPL part ;)

Reply via email to