Thread overview | ||||||
---|---|---|---|---|---|---|
|
August 18, 2011 [phobos] std.intrinsic and core.bitop | ||||
---|---|---|---|---|
| ||||
Hello!
Sorry if my questions are very silly, but I have the second one.
Looks like modules std.intrinsic and core.bitop have the same
functionality and the both not marked as deprecated.
I believe that there must remains only core.bitop, but what really state
of this modules?
Thank you.
--
registered Linux user #360474
Don't worry, I can read OpenOffice.org
|
August 18, 2011 [phobos] std.intrinsic and core.bitop | ||||
---|---|---|---|---|
| ||||
Posted in reply to unDEFER | On Thursday, August 18, 2011 22:07:13 unDEFER wrote:
> Hello!
> Sorry if my questions are very silly, but I have the second one.
> Looks like modules std.intrinsic and core.bitop have the same
> functionality and the both not marked as deprecated.
> I believe that there must remains only core.bitop, but what really state
> of this modules?
>
> Thank you.
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
|
August 19, 2011 [phobos] std.intrinsic and core.bitop | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jonathan M Davis | 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. -- registered Linux user #360474 Don't worry, I can read OpenOffice.org |
August 19, 2011 [phobos] std.intrinsic and core.bitop | ||||
---|---|---|---|---|
| ||||
Posted in reply to unDEFER | 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
|
Copyright © 1999-2021 by the D Language Foundation