Thread overview | |||||
---|---|---|---|---|---|
|
April 17, 2017 Recently added __equal | ||||
---|---|---|---|---|
| ||||
What's the plan for the recent adding __equal overloads at https://github.com/dlang/druntime/pull/1808/files Is it only meant for runtime and phobos to be updated? Or does user-libraries, such as container libraries, need to be updated aswell? |
April 17, 2017 Re: Recently added __equal | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nordlöw | On Monday, 17 April 2017 at 19:15:06 UTC, Nordlöw wrote:
> What's the plan for the recent adding __equal overloads at
>
> https://github.com/dlang/druntime/pull/1808/files
>
> Is it only meant for runtime and phobos to be updated? Or does user-libraries, such as container libraries, need to be updated aswell?
Well considering that they are templates in druntime, you will need to recompile your code (and any 3rd party code) against the new druntime, with a recent dmd (don't think ldc has the updates yet).
|
April 18, 2017 Re: Recently added __equal | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nordlöw | On Monday, 17 April 2017 at 19:15:06 UTC, Nordlöw wrote:
> What's the plan for the recent adding __equal overloads at
>
> https://github.com/dlang/druntime/pull/1808/files
>
> Is it only meant for runtime and phobos to be updated? Or does user-libraries, such as container libraries, need to be updated aswell?
__equal is never really mean to be called directly. It's a druntime template that will be used via inserted calls with the complier front end when array comparisons are used.
|
Copyright © 1999-2021 by the D Language Foundation