[Issue 24270] Pointer to Nullable of recursive struct

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Dec 6 16:20:43 UTC 2023


https://issues.dlang.org/show_bug.cgi?id=24270

apham <apz28 at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |apz28 at hotmail.com

--- Comment #1 from apham <apz28 at hotmail.com> ---
I think you put '*' in wrong place. Try below

```
struct RecursiveClass {
    int id;
    bool flag;
    Nullable!(RecursiveClass*) children;
}
```

--


More information about the Digitalmars-d-bugs mailing list