digitalmars.D - On emulating C++ Namespaces (don't ask why)
- 0xFFFFFFFF (10/10) May 04 2018 What am I violating here apart from the truth that our Mr. Walter
- Radu (2/12) May 04 2018 `final abstract class` is what you are looking for.
- Manu (3/13) May 04 2018 But... modules?
- 0xFFFFFFFF (2/19) May 05 2018 I did intentionally sidelined modules, not an option
What am I violating here apart from the truth that our Mr. Walter doesn't like namespaces: interface tlvs { enum tlv { addr }; static: void header(); } Is this cool? Thanks
May 04 2018
On Friday, 4 May 2018 at 17:50:59 UTC, 0xFFFFFFFF wrote:What am I violating here apart from the truth that our Mr. Walter doesn't like namespaces: interface tlvs { enum tlv { addr }; static: void header(); } Is this cool? Thanks`final abstract class` is what you are looking for.
May 04 2018
On 4 May 2018 at 10:50, 0xFFFFFFFF via Digitalmars-d <digitalmars-d puremagic.com> wrote:What am I violating here apart from the truth that our Mr. Walter doesn't like namespaces: interface tlvs { enum tlv { addr }; static: void header(); } Is this cool? ThanksBut... modules?
May 04 2018
On Friday, 4 May 2018 at 19:19:19 UTC, Manu wrote:On 4 May 2018 at 10:50, 0xFFFFFFFF via Digitalmars-d <digitalmars-d puremagic.com> wrote:I did intentionally sidelined modules, not an optionWhat am I violating here apart from the truth that our Mr. Walter doesn't like namespaces: interface tlvs { enum tlv { addr }; static: void header(); } Is this cool? ThanksBut... modules?
May 05 2018