Search results

Jump to: navigation, search
  • |Cross-platform (Linux / Windows / Mac OS X) |Cross-platform (Linux / Windows / Mac OS X)
    5 KB (679 words) - 17:13, 18 February 2024
  • !Windows || Linux || OS X || FreeBSD
    7 KB (764 words) - 08:13, 26 November 2023
  • *OS X *OS X (untested)
    8 KB (1,185 words) - 01:37, 18 May 2021
  • <pre> chmod +x main.d</pre>
    5 KB (827 words) - 12:58, 16 July 2020
  • ...ows, platform-specific packages for Linux distributions, a dmg file for OS X, and compressed archives for all supported platforms. Additionally, a comma
    9 KB (1,318 words) - 09:45, 4 March 2018
  • int delegate(int x) dg; dg = delegate(int x) { return arg * x; };
    2 KB (222 words) - 13:26, 26 August 2017
  • void foo(int x) mixin("int x;");
    22 KB (3,353 words) - 07:36, 18 February 2018
  • int sum(int x, int y) return x + y;
    21 KB (3,493 words) - 14:16, 7 May 2015
  • ...uld have the form: <nowiki>[[DIPx]]</nowiki>, Title, Status, resume. Where x is the DIP number, title is the DIP title and resume is a short description ...discussion, with a subject like this: new DIPx: title (where one more time x is the DIP number and title is the DIP title).
    5 KB (819 words) - 01:53, 17 January 2015
  • | platform = Windows/POSIX/Mac OS X | platform = Windows/Linux/Mac OS X
    6 KB (769 words) - 02:29, 14 September 2023
  • short x = 1; assert( is(typeof(x) == short) );
    3 KB (482 words) - 05:06, 14 April 2024
  • ...the [[DMD]] and [[GDC]] compilers. For Windows, GNU/Linux, FreeBSD (Mac OS X version is not being current or maintained). * Cross-platform. Runs on GNU/Linux, Mac OS X, Windows, FreeBSD (uses wxWidgets).
    6 KB (846 words) - 18:30, 9 June 2018
  • On OS X: x = 1
    27 KB (4,396 words) - 12:53, 18 June 2019
  • class C { int x = 123; }
    21 KB (3,125 words) - 13:03, 31 July 2021
  • immutable x = ( i - 0.5 ) * delta; return delta / ( 1.0 + x * x ) ;
    17 KB (2,456 words) - 10:25, 25 March 2023
  • if (x /* comment */) if (x)
    4 KB (583 words) - 20:00, 8 September 2015
  • int x = 10; declares a variable named x of ''type'' int, whose ''initial value'' is 10.
    3 KB (364 words) - 08:06, 5 April 2024
  • int x = MYCONSTANT*3; /* Oops, x==7, not 9 as one might expect */
    3 KB (447 words) - 09:22, 2 February 2015
  • int x=123; /* oops, the outer block comment breaks here */ // int x=123; /* now this comment no longer causes a problem */
    4 KB (541 words) - 09:44, 31 May 2017
  • void func(int x) { ... } // N.B. expects an int ...behave like X, except that it adds a few members of its own. In this case, X is toInt, which happens to be an int property, which means that MyInt shoul
    2 KB (363 words) - 10:12, 14 November 2014
  • int from2(int x) if(x == 0)
    2 KB (203 words) - 03:26, 18 February 2018
  • * Create a new Git branch called <tt>release-x.y.z</tt>, and announce this on the project mailing list. Git master is now ** OS X 10.7, multilib enabled
    4 KB (631 words) - 16:09, 9 November 2016
  • struct S_A { int x; int y; void func() { x = 2*x; } ; void funcA() { } ; } struct S_B { int x; int z; void func() { x = 3*x; } ; void funcB() { } ; }
    5 KB (474 words) - 22:32, 20 January 2013
  • immutable string x = "hello"; static if (x == "hello") { ... }
    39 KB (5,317 words) - 17:54, 7 April 2024
  • assert(format("%#x", s) == "[0x1 : 0xa, 0x2 : 0x14, 0x3 : 0x1e, ]");
    8 KB (1,108 words) - 10:12, 14 November 2014
  • ...1ex; background: #ffd;">Note: Properties are being officially added to D2.x as part of [[DIP6|Annotations]]. This page should be updated to reflect the auto x = foo();
    11 KB (1,542 words) - 20:09, 9 March 2014
  • ...1ex; background: #ffd;">Note: Properties are being officially added to D2.x as part of [[DIP6|Annotations]].</div> auto x = foo();
    4 KB (592 words) - 20:09, 9 March 2014
  • int x; int x;
    4 KB (619 words) - 05:20, 17 January 2013
  • ...Note: While a major change to operator overloading has be scheduled for D2.x, this page '''does not''' describe the current plan for implementation. Mor ...ous. (Eg, if both are templates, X.op@(X) is always ambiguous with X.op@_r(X) ).
    11 KB (1,700 words) - 05:45, 18 January 2013
  • ...ltin types' format specifiers. For instance BigInt should support "d" and "x" and associated specifier fields. writefln and similar functions will simpl
    6 KB (863 words) - 07:52, 19 January 2013
  • int x, y, z; int x, y, z;
    6 KB (950 words) - 06:03, 20 January 2013
  • ...7663ba384487/src/core/thread.d#L4550 core/thread.d]|| Only used on Mac OS X.
    24 KB (3,836 words) - 16:10, 27 January 2023
  • auto x=[1,2,3]S; static assert(is(typeof(x)==int[3]));
    3 KB (377 words) - 18:28, 11 December 2013
  • * Can we get a reference to the property? What does <code>&x.property_</code> mean? * What does <code>x.property_++</code> do? ([http://www.prowiki.org/wiki4d/wiki.cgi?DocComments
    10 KB (1,440 words) - 21:40, 20 May 2015
  • # @property functions can't be called with parentheses: <code>x._property()</code> is illegal! (Normal functions are explicitly not affecte ...urned value can be called (delegate, function pointer, opCall), then <code>x._property()</code> calls the returned value! It essentially behaves exactly
    6 KB (840 words) - 21:38, 20 May 2015
  • #define GET(x) x.value => int GET()(X x) { return x.value; }
    3 KB (404 words) - 18:53, 28 May 2014
  • 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
  • * clipboard text copy/paste, and PRIMARY selection on X * class Sprite is a pixmap for more efficient usage on X
    3 KB (357 words) - 19:43, 1 September 2015
  • struct X { If you want to copy mutable X to immutable, compiler automatically memcpy the object image before the pos
    13 KB (1,878 words) - 01:08, 19 December 2013
  • Tuple!(int, "x", int, "y") a; Tuple!(int, "x", int, "y") bar() {
    7 KB (990 words) - 00:53, 15 December 2013
  • SomeType x; if (caller->x.IsValid())
    14 KB (2,212 words) - 14:27, 15 June 2016
  • On OS X with Homebrew:
    7 KB (1,109 words) - 12:29, 9 March 2023
  • ...ng.org/declaration.html#Initializer Initializers] (e.g. the ''3'' in ''int x = 3'').
    11 KB (1,733 words) - 20:04, 1 September 2015
  • ...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
    18 KB (2,945 words) - 20:23, 1 September 2015
  • int __cdecl x; extern (C) int x;
    11 KB (1,696 words) - 10:44, 27 March 2024
  • this(int x, char c) { ... } Foo alloc_Foo(int x, char c)
    1 KB (230 words) - 10:15, 14 November 2014
  • assert(x == 5);
    2 KB (304 words) - 10:15, 14 November 2014
  • ...ace, and every D object with an interface X can be exposed as a COM object X. This means that D is compatible with COM objects implemented in other lang
    3 KB (414 words) - 05:54, 28 October 2016
  • int x; this(int x)
    21 KB (3,112 words) - 03:45, 16 May 2019
  • static foreach(x;0..10){ mixin("int i" ~ to!string(x) ~ " = " ~ to!string(x)~";");
    5 KB (627 words) - 11:46, 9 May 2017
  • __gshared int x = 5; int[] a = [x, x + 10, x * x];
    3 KB (435 words) - 17:54, 15 June 2014
  • volatile int x; x = 0;
    29 KB (4,221 words) - 04:18, 16 April 2016
  • ...ry expression, such as '''assert(x == y)''', should print the values of '''x''' and '''y''' and * unary expression, such as '''assert(!x)''', should print the value of '''x'''.
    8 KB (1,009 words) - 21:46, 24 December 2016
  • int x;
    3 KB (401 words) - 13:00, 10 November 2014
  • int x; // starting here, x becomes visible and also starts "living" int y = x + 42; // lifetime(42) and visibility(42) last through the initialization ex
    24 KB (3,898 words) - 19:53, 1 September 2015
  • int testX(ref int x) int testX(int x)
    11 KB (1,657 words) - 09:59, 27 February 2023
  • auto a = function(x) { if (x) x.opAddRef(); return x; }(lvalExpr); function(ref x, y) {
    15 KB (2,311 words) - 16:00, 4 March 2015
  • $ chmod +x hello.d && ./hello.d int x;
    10 KB (1,374 words) - 01:15, 14 December 2018
  • ...carlborg/dstep/releases converting C and Objective C headers to D under OS X/Linux/FreeBSD]
    2 KB (296 words) - 11:59, 26 April 2015
  • static if (__traits(compiles, { alias x = a; })) else static if (__traits(compiles, { enum x = a; }))
    5 KB (672 words) - 03:02, 17 February 2018
  • 1a. If a root module `x.d` and non-root module `y.d` exists, module x; // x.d
    5 KB (814 words) - 10:15, 19 July 2015
  • @trusted factorial(uint x) const pure { if(auto found = x in tmp)
    4 KB (570 words) - 15:03, 14 November 2015
  • ...ofile_override_default_filename(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @0, i32 0, i32 0)) @__llvm_profile_name_main = private constant [4 x i8] c"main", section "__DATA,__llvm_prf_names", align 1
    9 KB (1,179 words) - 13:11, 19 July 2017
  • ...er the closing paren in a <tt>cast</tt> expression. Example: <tt>cast(int) x</tt>.
    5 KB (769 words) - 11:52, 21 September 2018
  • void moveTo(float x, float y); extern(auto, "myMoveTo:") void moveTo(double x, double y);
    6 KB (868 words) - 05:49, 4 March 2018
  • Rect createRect(int x, int y, int width, int height); Rect createRect(int x:, int y:, int width:, int height:);
    7 KB (912 words) - 05:54, 4 March 2018
  • x, y := <-c, <-c // receive from c fmt.Println(x, y, x+y) // -5 17 12
    16 KB (2,253 words) - 05:03, 18 February 2018
  • ...mit actually fixes the bug should start with &quot;Fix issue X&quot; where X is the number of the corresponding [https://issues.dlang.org bugzilla] issu
    11 KB (1,786 words) - 09:38, 12 March 2024
  • [https://docs.travis-ci.com/user/osx-ci-environment OS X build environment], which you can enable by adding: extra builds as Mac OS X is x86-64 only since 10.7.
    10 KB (1,287 words) - 12:41, 16 July 2020
  • Calypso has been tested primarily on Linux. OS X has been barely tested but some examples have been reported to work, and MS * Qt 5.x (both Widgets and Quick, see [[#Qt 5 tools|below]])
    6 KB (918 words) - 17:05, 17 August 2019
  • * Shows whether a PR will be part of the changelog ('X' means NO, '✔' means YES)
    12 KB (1,981 words) - 14:20, 24 February 2021
  • ...ime" feature, and feature Y is another "compile-time" feature, then surely X and Y ought to be usable in any combination, right? Since, after all, it a int x;
    48 KB (7,805 words) - 16:40, 13 May 2022
  • ...dvm DVM]. He implemented native Thread Local Storage support for DMD on OS X and contributed, along with Michel Fortin, to the [https://dlang.org/spec/
    34 KB (5,227 words) - 09:35, 2 October 2019
  • .tee!((x) { total += x; })
    851 bytes (110 words) - 23:10, 17 July 2020
  • -rwxr-xr-x 1 root root 24M Mar 12 05:53 vibeex
    14 KB (1,906 words) - 07:04, 12 May 2018
  • struct MyStruct { int x; } MyStruct externalFunc(int x);
    7 KB (973 words) - 21:11, 31 January 2024
  • <li><b>C</b>: <code>#define GET(x) x.value</code> <li><b>D</b>: <code>int GET(X)(X x) { pragma(inline, true); return x.value; }</code>
    6 KB (927 words) - 01:07, 4 January 2023