On Wednesday, 29 October 2014 at 11:49:59 UTC, John Colvin wrote:
On Wednesday, 29 October 2014 at 10:01:18 UTC, Gareth Foster
wrote:
Hi there,
I'm looking to write a function template that operates only on
value types. Basically I'm looking for an equivalent of
where T: struct
from C# (ht
On Wednesday, 29 October 2014 at 10:01:18 UTC, Gareth Foster
wrote:
Hi there,
I'm looking to write a function template that operates only on
value types. Basically I'm looking for an equivalent of
where T: struct
from C# (http://msdn.microsoft.com/en-us/library/d5x73970.aspx)
I was thinki
On 29/10/2014 11:01 p.m., Gareth Foster wrote:
Hi there,
I'm looking to write a function template that operates only on value
types. Basically I'm looking for an equivalent of
where T: struct
from C# (http://msdn.microsoft.com/en-us/library/d5x73970.aspx)
I was thinking that maybe using
Hi there,
I'm looking to write a function template that operates only on
value types. Basically I'm looking for an equivalent of
where T: struct
from C# (http://msdn.microsoft.com/en-us/library/d5x73970.aspx)
I was thinking that maybe using
template Foo(T) if (is(T : struct) or is(T: un