[phobos] std.intrinsic and core.bitop

Jonathan M Davis jmdavisProg at gmx.com
Fri Aug 19 13:22:32 PDT 2011


On Friday, August 19, 2011 03:09 unDEFER wrote:
> On Fri, 19 Aug 2011 06:57:12 +0400, Jonathan M Davis <jmdavisProg at gmx.com>
> 
> wrote:
> > std.instrinsic is specifically marked as deprecated. It publicly imports
> > core.bitop. Any code using std.intrinsic should be updated to use
> > core.bitop.
> > std.intrinsic will be removed at some point in the future.
> > 
> > - Jonathan M Davis
> 
> I have found the changing in the git repository after my mail. But it's
> strange that it don't appears in the last DMD release.
> Thank you.

github holds the latest state of dmd, druntime, and Phobos. So, what's 
currently in github is what would be released if we were to another release 
today, not what was in the last release. The previous release is tagged 
(v2.054 IIRC), so you'd have to grab the tag to get the code from the last 
release if you wanted to get it from github instead of downloading the release 
from digitalmars.com. I don't know what was in the last release with regards 
to core.bitop and std.intrinsic. If std.intrinsic has been deprecated since 
the last release, then it wouldn't be deprecated in the release but it would 
be on github. On the other hand, if it was deprecated prior to the release and 
the release still had a non-deprecate version, then something went wrong with 
the file in the release, and the wrong version got released. But if it's not 
deprecated in the release, then odds are that it was deprecated since then.

- Jonathan M Davis


More information about the phobos mailing list