Search

January 24, 2024
Learn »
...double x) { return 2+x;} ;

template Delegate(T)
{
  T delegate(T) compose( T function(T...
January 24, 2024
Issues »
...0x55dbfac12be2]
??:? int object.ModuleInfo.opApply(scope int
delegate(object.ModuleInfo*)).__lambda2(immutable(object.ModuleInfo*))
[0x55dbfac18f83...
January 24, 2024
Learn »
...x+2;} ;

    int delegate (int) compose( int delegate(int)second, int delegate(int)first)
    {
            return...
January 23, 2024
Issues »
...error message:

---
struct S
{
    int opApply(int delegate(int) dg)
    {
        return 0;
    }
}

void example()
{
    const...
January 23, 2024
Learn »
...D

struct Stuff {
    int opApply(scope int delegate(Stuff*) dg)
    {
        return 0;
    }

};
void main()
{
    Stuff...
January 22, 2024
General »
...import std;

    auto test(T)(scope T delegate() dg)
    {
        import std.datetime.stopwatch;
        StopWatch sw...
January 21, 2024
Learn »
...void delegate(int)[] dgs;

        string myname="Original ";

        foreach (name; names)
        {
           int j=0;
           void delegate...
January 20, 2024
General »
...the address of `x` will yield a delegate, and not a pointer to the member...
January 21, 2024
Learn »
...e. struct, or stack) and have a delegate point to both it and a patch...
January 20, 2024
Learn »
...to do this?

```d
    void doemar( int delegate(int y) f)
    {
       for(int i=0...
13 14 15 16 17 18 19 20 21 22 23 24
Next ›   Last »