Search results

Jump to: navigation, search
  • mixin template X(){ static int x = 2;
    3 KB (475 words) - 18:56, 28 May 2014
  • static int x; ref int fun1() { return x; }
    17 KB (2,302 words) - 18:56, 28 May 2014
  • S s; // s is a struct, s.x is a field ++s[i].x;
    7 KB (1,018 words) - 18:57, 28 May 2014
  • ref int fun(int x) { return x; // Error: escaping reference to local variable x
    9 KB (1,448 words) - 19:51, 1 September 2015
  • void foo(C c, int x) { writefln("foo(C) : received %s", x); } void foo(D d, int x, int y) { writefln("foo(D) : received %s %s", x, y); }
    5 KB (663 words) - 13:13, 23 March 2014
  • int x = 123; aa["def"] = x; // implicit promotion int -> double
    9 KB (1,516 words) - 20:17, 8 September 2015
  • ReturnType getter(X a) { ReturnType setter(X a, Y b) {
    5 KB (743 words) - 15:51, 13 March 2013
  • ...g LDC to crash when e.g. building Phobos). Thus, please use LLVM 3.2 on OS X for the time being.
    3 KB (376 words) - 11:22, 27 April 2014
  • static if(is(typeof(y))) int x; static if(is(typeof(x))) int y;
    6 KB (904 words) - 04:39, 25 September 2014
  • ...system libraries and frameworks of the platform. GUI programming on Mac OS X would also get a big boost of this. The best way to do this is to add direc * Finish the Mac OS X port
    6 KB (1,109 words) - 20:23, 1 September 2015
  • auto dg = {x;}; // lambda auto {x, y} = {1, "hi"};
    17 KB (2,360 words) - 16:31, 11 March 2016
  • int x; func1(x);
    9 KB (1,473 words) - 08:06, 25 June 2015
  • extern (C++) void x (); pragma(mangle, namespace("foo::bar") extern (C++) void x ();
    14 KB (2,079 words) - 19:52, 1 September 2015
  • struct U{T x;} else if(...) return c.x;
    7 KB (1,160 words) - 16:48, 26 May 2013
  • void fix(ref double x) { if (isnan(x)) x = 0; } void funRef(ref T x){if (isnan(x)) x = 0; }
    9 KB (1,487 words) - 01:18, 13 May 2013
  • int x; auto dg = (){ return x; };
    10 KB (1,404 words) - 09:20, 17 February 2018
  • ...o use these libraries is to be able to use the system frameworks on Mac OS X and iOS. This proposal adds language extensions to make it significantly ea The only difference is that D is strongly-typed, which means that <code>x.class</code>
    22 KB (3,155 words) - 14:44, 28 December 2014
  • ...n each subrange share the same value for a particular chosen property, say x. Or, to phrase it in terms of the Dates that we're dealing with, given a ra
    44 KB (6,579 words) - 20:08, 19 May 2015
  • template Foo(int x, T, alias y, S...){ ... } * '''Q: Why doesn't auto-expansion work in context X? (Where X could be Eg. overloaded operator arguments, assert arguments, mixin argumen
    5 KB (785 words) - 16:14, 17 August 2013
  • int x = 0; x = 5;
    26 KB (3,437 words) - 23:54, 9 May 2021

View (previous 20 | next 20) (20 | 50 | 100 | 250 | 500)