diff -uNr dmd-0.167/dmd/html/d/arrays.html dmd-0.168/dmd/html/d/arrays.html --- dmd-0.167/dmd/html/d/arrays.html 2006-08-20 17:04:34.000000000 +0200 +++ dmd-0.168/dmd/html/d/arrays.html 2006-10-02 02:12:50.000000000 +0200 @@ -32,7 +32,7 @@ -
Last update Sun Aug 20 17:04:32 2006 +
Last update Mon Oct 2 02:12:48 2006
@@ -864,8 +864,6 @@
  • void* - -

    Associative Arrays

    diff -uNr dmd-0.167/dmd/html/d/changelog.html dmd-0.168/dmd/html/d/changelog.html --- dmd-0.167/dmd/html/d/changelog.html 2006-09-18 14:28:02.000000000 +0200 +++ dmd-0.168/dmd/html/d/changelog.html 2006-10-02 16:06:44.000000000 +0200 @@ -32,7 +32,7 @@ -
    Last update Mon Sep 18 14:28:00 2006 +
    Last update Mon Oct 2 16:06:43 2006
    @@ -188,6 +188,8 @@ -
    Last update Tue Sep 5 13:20:57 2006 +
    Last update Mon Oct 2 02:07:36 2006
    @@ -1054,6 +1054,36 @@ instance of Outer.

    +

    The property .outer used in a nested class gives the + this pointer to its enclosing class. If the enclosing + context is not a class, the .outer will give the pointer + to it as a void* type. +

    + +
    class Outer
    +{
    +    class Inner
    +    {
    +	Outer foo()
    +	{
    +	    return this.outer;
    +	}
    +    }
    +
    +    void bar()
    +    {
    +	Inner i = new Inner;
    +	assert(this == i.foo());
    +    }
    +}
    +
    +void test()
    +{
    +    Outer o = new Outer;
    +    o.bar();
    +}
    +
    +

    Anonymous Nested Classes

    An anonymous nested class is both defined and instantiated with diff -uNr dmd-0.167/dmd/html/d/comparison.html dmd-0.168/dmd/html/d/comparison.html --- dmd-0.167/dmd/html/d/comparison.html 2006-08-20 17:04:34.000000000 +0200 +++ dmd-0.168/dmd/html/d/comparison.html 2006-10-02 02:16:50.000000000 +0200 @@ -31,7 +31,7 @@ -
    Last update Sun Aug 20 17:04:33 2006 +
    Last update Mon Oct 2 02:16:48 2006
    @@ -251,6 +251,15 @@ Yes + Array literals + Yes + + No + No + Yes + Yes + + Associative arrays Yes diff -uNr dmd-0.167/dmd/html/d/expression.html dmd-0.168/dmd/html/d/expression.html --- dmd-0.167/dmd/html/d/expression.html 2006-09-14 00:36:38.000000000 +0200 +++ dmd-0.168/dmd/html/d/expression.html 2006-10-02 02:07:38.000000000 +0200 @@ -32,7 +32,7 @@ -
    Last update Thu Sep 14 00:36:36 2006 +
    Last update Mon Oct 2 02:07:36 2006
    @@ -980,24 +980,34 @@

    Slice Expressions

    -
    PostfixExpression [ AssignExpression .. AssignExpression ]
    +
    PostfixExpression [ ]
    +PostfixExpression [ AssignExpression .. AssignExpression ]
     
    - PostfixExpression is evaluated. +

    PostfixExpression is evaluated. if PostfixExpression is an expression of type static array or dynamic array, the variable length is declared and set to be the length of the array. A new declaration scope is created for the evaluation of the AssignExpression..AssignExpression and length appears in that scope only. -

    +

    - The first AssignExpression is taken to be the inclusive +

    The first AssignExpression is taken to be the inclusive lower bound of the slice, and the second AssignExpression is the exclusive upper bound. The result of the expression is a slice of the PostfixExpression array. +

    + +

    If the [ ] form is used, the slice is of the entire + array. +

    + +

    The type of the slice is a dynamic array of the element + type of the PostfixExpression. +

    Primary Expressions

    diff -uNr dmd-0.167/dmd/html/d/float.html dmd-0.168/dmd/html/d/float.html --- dmd-0.167/dmd/html/d/float.html 2006-08-20 17:04:34.000000000 +0200 +++ dmd-0.168/dmd/html/d/float.html 2006-09-24 14:01:48.000000000 +0200 @@ -32,7 +32,7 @@ -
    Last update Sun Aug 20 17:04:33 2006 +
    Last update Sun Sep 24 14:01:46 2006
    @@ -161,11 +161,58 @@ precision of the calculation. They should not degrade or fail if the actual precision is greater. Float or double types, as opposed to the extended type, should only be used for: - -
    Last update Wed Aug 30 22:18:32 2006 +
    Last update Mon Oct 2 02:10:40 2006
    @@ -1053,12 +1053,17 @@ }
    - This combining of the environment and the function is called +

    This combining of the environment and the function is called a dynamic closure. -

    +

    - Future directions: Function pointers and delegates may merge +

    The .ptr property of a delegate will return the + frame pointer value as a void*. +

    + +

    Future directions: Function pointers and delegates may merge into a common syntax and be interchangeable with each other. +

    Anonymous Functions and Anonymous Delegates

    diff -uNr dmd-0.167/dmd/html/d/phobos/object.html dmd-0.168/dmd/html/d/phobos/object.html --- dmd-0.167/dmd/html/d/phobos/object.html 2006-09-18 12:03:52.000000000 +0200 +++ dmd-0.168/dmd/html/d/phobos/object.html 2006-10-02 16:06:16.000000000 +0200 @@ -28,7 +28,7 @@ -
    Last update Mon Sep 18 12:03:50 2006 +
    Last update Mon Oct 2 16:06:15 2006
    diff -uNr dmd-0.167/dmd/html/d/phobos/std_date.html dmd-0.168/dmd/html/d/phobos/std_date.html --- dmd-0.167/dmd/html/d/phobos/std_date.html 2006-09-18 12:03:52.000000000 +0200 +++ dmd-0.168/dmd/html/d/phobos/std_date.html 2006-10-02 16:06:16.000000000 +0200 @@ -28,7 +28,7 @@ -
    Last update Mon Sep 18 12:03:50 2006 +
    Last update Mon Oct 2 16:06:15 2006
    diff -uNr dmd-0.167/dmd/html/d/phobos/std_math.html dmd-0.168/dmd/html/d/phobos/std_math.html --- dmd-0.167/dmd/html/d/phobos/std_math.html 2006-09-18 12:03:50.000000000 +0200 +++ dmd-0.168/dmd/html/d/phobos/std_math.html 2006-10-02 16:06:16.000000000 +0200 @@ -28,7 +28,7 @@ -
    Last update Mon Sep 18 12:03:49 2006 +
    Last update Mon Oct 2 16:06:14 2006
    diff -uNr dmd-0.167/dmd/html/d/phobos/std_socket.html dmd-0.168/dmd/html/d/phobos/std_socket.html --- dmd-0.167/dmd/html/d/phobos/std_socket.html 2006-09-18 12:03:52.000000000 +0200 +++ dmd-0.168/dmd/html/d/phobos/std_socket.html 2006-10-02 16:06:16.000000000 +0200 @@ -28,7 +28,7 @@ -
    Last update Mon Sep 18 12:03:51 2006 +
    Last update Mon Oct 2 16:06:15 2006
    @@ -918,7 +918,13 @@
    int receiveFrom(void[] buf, SocketFlags flags);
    int receiveFrom(void[] buf); -
    Receive data and get the remote endpoint Address. Returns the number of bytes actually received, 0 if the remote side has closed the connection, or ERROR on failure. If the socket is blocking, receiveFrom waits until there is data to be received. +
    Receive data and get the remote endpoint Address. + If the socket is blocking, receiveFrom waits until there is data to + be received. +

    +Returns:
    +the number of bytes actually received, + 0 if the remote side has closed the connection, or ERROR on failure.

    diff -uNr dmd-0.167/dmd/html/d/phobos/std_socketstream.html dmd-0.168/dmd/html/d/phobos/std_socketstream.html --- dmd-0.167/dmd/html/d/phobos/std_socketstream.html 2006-09-18 12:03:52.000000000 +0200 +++ dmd-0.168/dmd/html/d/phobos/std_socketstream.html 2006-10-02 16:06:16.000000000 +0200 @@ -28,7 +28,7 @@ -
    Last update Mon Sep 18 12:03:51 2006 +
    Last update Mon Oct 2 16:06:15 2006
    diff -uNr dmd-0.167/dmd/html/d/phobos/std_stream.html dmd-0.168/dmd/html/d/phobos/std_stream.html --- dmd-0.167/dmd/html/d/phobos/std_stream.html 2006-09-18 12:03:50.000000000 +0200 +++ dmd-0.168/dmd/html/d/phobos/std_stream.html 2006-10-02 16:06:16.000000000 +0200 @@ -28,7 +28,7 @@ -
    Last update Mon Sep 18 12:03:49 2006 +
    Last update Mon Oct 2 16:06:15 2006
    @@ -562,25 +562,17 @@
    protected bool readEOF;
    Indicates whether this stream is at eof + after the last read attempt. +

    protected bool prevCr;
    For a non-seekable stream indicates that -

    -after the last read attempt. -

    - - For a non-seekable stream indicates that -

    - -
    -
    this(); -
    -
    the last readLine or readLineW ended on a -

    -'\r' character. + the last readLine or readLineW ended on a + '\r' character. +

    diff -uNr dmd-0.167/dmd/html/d/phobos/std_uni.html dmd-0.168/dmd/html/d/phobos/std_uni.html --- dmd-0.167/dmd/html/d/phobos/std_uni.html 2006-09-18 12:03:54.000000000 +0200 +++ dmd-0.168/dmd/html/d/phobos/std_uni.html 2006-10-02 16:06:16.000000000 +0200 @@ -28,7 +28,7 @@ -
    Last update Mon Sep 18 12:03:52 2006 +
    Last update Mon Oct 2 16:06:15 2006
    diff -uNr dmd-0.167/dmd/html/d/regular-expression.html dmd-0.168/dmd/html/d/regular-expression.html --- dmd-0.167/dmd/html/d/regular-expression.html 2006-08-20 17:04:36.000000000 +0200 +++ dmd-0.168/dmd/html/d/regular-expression.html 2006-09-24 14:01:48.000000000 +0200 @@ -31,7 +31,7 @@ -
    Last update Sun Aug 20 17:04:34 2006 +
    Last update Sun Sep 24 14:01:47 2006
    @@ -270,7 +270,7 @@

    Or even more concisely as:

    -
    if (m; std.regexp.search("abcdef", "c"))
    +
    if (auto m = std.regexp.search("abcdef", "c"))
         writefln("%s[%s]%s", m.pre, m.match(0), m.post); // writes ab[c]def