On 8/18/15 2:55 AM, Dmitry Olshansky wrote:
On 18-Aug-2015 01:33, Andrei Alexandrescu wrote:On 8/17/15 2:47 PM, Dmitry Olshansky wrote:Actually one can combine the two: - use integer type tag for everything built-in - use pointer tag for what is notBut a pointer tag can do everything that an integer tag does. -- Andreialbeit quite a deal slooower.
I think there's a misunderstanding. Pointers _are_ 64-bit integers and may be compared as such. You can use a pointer as an integer. -- Andrei
