Ddoc only generates documentation for F in this code:
///
struct F
{
int i;
/// desc
alias i this;
}
It should be possible to document 'alias this' in the same way as normal 'alias' declarations.
Comment #1 by nick — 2014-07-08T10:25:07Z
Also the doc-comment doesn't appear for a disabled postblit:
///
struct G
{
/// disabled
@disable this(this);
}
Comment #2 by nick — 2014-07-08T10:43:49Z
Actually all postblits are not shown in the output:
///
struct H
{
/// postblit
this(this);
}
Another note is that a disabled default constructor *does* show in the output, although it doesn't show the '@disable' attribute, which should be added.
Comment #3 by b2.temp — 2019-11-03T21:12:38Z
*** Issue 14867 has been marked as a duplicate of this issue. ***
Comment #4 by robert.schadek — 2024-12-13T18:21:58Z