Thread overview
[Issue 15812] static struct inside extern(C++) class cannot be used as key to associative array
Mar 19, 2016
Walter Bright
Feb 12, 2020
Walter Bright
Feb 12, 2020
Dlang Bot
Feb 12, 2020
Dlang Bot
March 19, 2016
https://issues.dlang.org/show_bug.cgi?id=15812

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |C++
           Hardware|x86_64                      |All
                 OS|Windows                     |All
           Severity|enhancement                 |normal

--
January 11, 2020
https://issues.dlang.org/show_bug.cgi?id=15812

moonlightsentinel@disroot.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |moonlightsentinel@disroot.o
                   |                            |rg

--- Comment #1 from moonlightsentinel@disroot.org ---
Introduced in https://github.com/dlang/dmd/pull/3054

--
January 11, 2020
https://issues.dlang.org/show_bug.cgi?id=15812

moonlightsentinel@disroot.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |regression

--
February 12, 2020
https://issues.dlang.org/show_bug.cgi?id=15812

--- Comment #2 from Walter Bright <bugzilla@digitalmars.com> ---
It will work if toHash() is declared as extern (D).

--
February 12, 2020
https://issues.dlang.org/show_bug.cgi?id=15812

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
@WalterBright created dlang/dmd pull request #10782 "fix Issue 15812 - static struct inside extern(C++) class cannot be us…" fixing this issue:

- fix Issue 15812 - static struct inside extern(C++) class cannot be used as
key to associative array

https://github.com/dlang/dmd/pull/10782

--
February 12, 2020
https://issues.dlang.org/show_bug.cgi?id=15812

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #10782 "fix Issue 15812 - static struct inside extern(C++) class cannot be us…" was merged into master:

- 143f827c04b2d9ce1e3969bb267f0173a635d17c by Walter Bright:
  fix Issue 15812 - static struct inside extern(C++) class cannot be used as
key to associative array

https://github.com/dlang/dmd/pull/10782

--