On Friday, 25 August 2017 at 03:34:00 UTC, Johnson wrote:
Anyone?
Since OpenMAX provides header files you can convert them to d
using this: https://dlang.org/htod.html
You can then link your d code with OpenMAX.
I was wondering how transitive const applies to functions. For
example would the following declaration:
const int delegate(char)
be equivalent to:
const(int) delegate(char) // I think its this one
or:
const(int) delegate(const(char))
Would it be different for function instead of delegate?
On Tuesday, 29 August 2017 at 18:20:38 UTC, Vino.B wrote:
Hi,
Can any one help me on the below program, as I need the
missing element for array "a" to be printed when compared with
array "b"
Program:
import std.stdio, std.array, std.algorithm;
string[] a = ["test1", "test2", "test4"];
When looking at std.variant I found the following line:
return q{
static if (allowed!%1$s && T.allowed!%1$s)
if (convertsTo!%1$s && other.convertsTo!%1$s)
return VariantN(get!%1$s %2$s other.get!%1$s);
}.format(tp, op);
I was wondering what exactly the % signs where