On Tuesday, 26 July 2016 at 22:23:37 UTC, Jerry wrote:
On Tuesday, 26 July 2016 at 19:02:32 UTC, Gorge Jingale wrote:
I might want to actually use Add internally in B so I can add
some elements behind the scenes, I do not want to expose it to
the outside world though.
There are no way to remo
On Tuesday, 26 July 2016 at 19:02:32 UTC, Gorge Jingale wrote:
I might want to actually use Add internally in B so I can add
some elements behind the scenes, I do not want to expose it to
the outside world though.
There are no way to remove things from an template directly. But
you could howe
I might want to actually use Add internally in B so I can add
some elements behind the scenes, I do not want to expose it to
the outside world though.
Is there a way to remove functions and fields that a mixin
template adds?
I use mixin templates to create other types contents, like
struct A { mixin Stuff(); }
But Sometimes I only want some of the stuff.
struct B { mixin Stuff(); @disable Add(); }
B is like an A but doesn't have the abilit