ddoc10

  • Foo

    Declaration

    struct Foo(T);
    struct Foo(T, U);

    The foo

  • Declaration

    int func1(T)(T x);

    This basic case doesn't work very well. The template signature is documented twice, but the function signature (argument names and return type) is not documented at all. This comment is also repeated twice.

  • Declaration

    int func2(T, U)(T x, U y);
    int func2(T)(T x);

    This comment is also repeated twice, and the second function signature is not very well documented.

  • Declaration

    int func2()();

    Separate overload item.

  • Declaration

    int func3(T, U)(T x, U y);
    int func3(T, U = int, V : long)(T x);

    This used to work adequately and documented both func3 templates simultaneously. Now, it documents the first template twice and no longer documents the function argument and return types.

  • map

    Declaration

    void map(char rs);
    void map(int rs);

    blah

  • Declaration

    void map2()(char rs);
    void map2()(int rs);

    blah

  • Declaration

    void map3(char rs);

  • Declaration

    void map4(string s)(char rs);

  • Declaration

    template map5(string s)

  • Declaration

    struct bar6;

    blah

  • Declaration

    struct Foo7(T);

    template bodies

    • bar

      Declaration

      void bar();

      Attempt two: Inside.

      Discussion

      Attempt one: Doc outside static if.

    • abc

      Declaration

      static void abc();

      the abc function should be static

  • Declaration

    abstract class Foo8;

    show abstract

  • Declaration

    void bug4878(string a = ")");

    a stray ) mustn't foul the macros

  • S

    Declaration

    struct S;

    • Declaration

      pure nothrow this(long ticks) const;

    • foo

      Declaration

      pure nothrow void foo(long ticks) const;

  • f10

    Declaration

    float f10(float a, float b);

    Produces something in (a;b]

  • h10

    Declaration

    float h10(float a, float b);

    Produces something in [a;b)

  • Declaration

    void bug6090(string f = "$(B b)", char g = ')')(string h = "$(", string i = "$)");

  • T

    Declaration

    struct T;

    • Declaration

      this(A...)(A args);

    • Declaration

      this(int);

  • Declaration

    int x14547;
    enum int y14547;

    doc-comment

  • Declaration

    enum auto isInt14547(T);
    enum bool isString14547(T);
    static immutable typeName14547(T);
    int storageFor14547(T);

    doc-comment

  • Declaration

    enum int foo14547(T);
    template bar14547(T) if (is(T == int))

    doc-comment