www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Location of core.internal.traits : CoreUnqual in Dlang GitHub repo

reply data pulverizer <data.pulverizer gmail.com> writes:
Hi all,

I've been looking for where `CoreUnqual` is defined in the Dlang 
repos. I've tried searching in dmd and phobos but only found the 
reference usage in std.traits:

import core.internal.traits : CoreUnqual;

I'd like to know where it is defined so I can (attempt to!) study 
the code.

Thanks in advance.
Aug 19 2020
parent "H. S. Teoh" <hsteoh quickfur.ath.cx> writes:
On Wed, Aug 19, 2020 at 10:47:19PM +0000, data pulverizer via
Digitalmars-d-learn wrote:
 Hi all,
 
 I've been looking for where `CoreUnqual` is defined in the Dlang
 repos. I've tried searching in dmd and phobos but only found the
 reference usage in std.traits:
 
 import core.internal.traits : CoreUnqual;
 
 I'd like to know where it is defined so I can (attempt to!) study the
 code.
[...] core.* is defined in druntime. So it should be in: druntime/src/core/internal/traits.d T -- All men are mortal. Socrates is mortal. Therefore all men are Socrates.
Aug 19 2020