[Issue 21218] dtoh: protection attributes should be emitted to headers

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Sep 28 11:11:08 UTC 2020


https://issues.dlang.org/show_bug.cgi?id=21218

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

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

--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
@MoonlightSentinel created dlang/dmd pull request #11804 "Fix 21218 -
protection attributes should be emitted to C++ headers" fixing this issue:

- Fix 21218 - protection attributes should be emitted to C++ headers

  Properly track the current protection while writing struct/class members
  and add `public:`, `protected:` or `private:` as necessary.

  `package` and `package(...)` is currently mapped to `protected` as there
  is no real equivalent in C++.

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

--


More information about the Digitalmars-d-bugs mailing list