On Wednesday, 28 September 2016 at 09:48:27 UTC, ZombineDev wrote:
On Wednesday, 28 September 2016 at 09:43:38 UTC, Mike Parker
wrote:
[...]
AFAIR, last year or so, Andrei approved the proposal for
attr(bool expr), eg:
@nogc:
// no gc code here
@nogc(false):
// code that's allowed to use the gc here
class Base(bool overridableImpl)
{
final:
final(overridableImpl) void impl() { /* ... */
}
But still no one has stepped in to do the implementation.
I meant:
class Base(bool overridableImpl)
{
final:
/* final methods here */
final(!overridableImpl) void impl() { /* ... */ }
/* final methods here */
}