On Monday, 25 July 2016 at 05:00:23 UTC, Ali Çehreli wrote:
On 07/24/2016 07:15 PM, Gorge Jingale wrote:
Is there a static ternary if?
(A == B) ? C : D;
for compile type that works like static if.
The way to force an expression at compile time is to use it for
something that's needed at
On Sunday, 24 July 2016 at 00:54:21 UTC, Zekereth wrote:
On Saturday, 23 July 2016 at 19:08:00 UTC, WhatMeWorry wrote:
What I thought would be trivial is becoming a nightmare. Can
anybody set me straight. Thanks in advance.
[...]
Use the getchar() function.
void pause(const string msg =
On Sunday, 24 July 2016 at 15:07:20 UTC, Jack wrote:
Is there a way for singletons that import each other, use each
other's functions?
Like i.e:
--
module sing1;
import sing2;
final class Singleton_1{
static this{
instance = new Singleton_1();
}
static Singleton_1 getInstance(){
return
On Sunday, 24 July 2016 at 15:09:53 UTC, Lodovico Giaretta wrote:
Yes, making them @nogc would require all existing overrides to
be changed (overrides cannot throw away attributes, but must
specify them explicitly as in the parent class, or stricter).
The real problem making these @nogc is that