digitalmars.D.learn - Location of core.internal.traits : CoreUnqual in Dlang GitHub repo
- data pulverizer (8/8) Aug 19 2020 Hi all,
- H. S. Teoh (7/17) Aug 19 2020 [...]
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
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