News for hackers. Stuff that matters.
Re:String.intern() by sherincall on Wednesday May 17, 2017 @03:42AM (#14356385)
Actually, that's not always correct in C++ (it is in C). It is possible that either type has the operator& overloaded, so instead the proper way to do it is:

    (std::addressof(a) == std::addressof(b))
http://en.cppreference.com/w/cpp/memory/addressof
Re:String.intern() by _pmf_ on Wednesday May 17, 2017 @05:23AM (#14356814)
Thanks (I didn't even know this operator was overloadable)!