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

Paul Backus <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #42 from Paul Backus <[email protected]> ---
> If that is still a no-go then it seems we need something like:
>
> if ((auto arr = expr).ptr)

In C++17, you can write it like this:

    if (auto arr = expr; arr.ptr)

--

Reply via email to