[RFC] Throwing an exception with null pointers

Walter Bright newshound2 at digitalmars.com
Thu Apr 17 05:36:02 UTC 2025


On 4/16/2025 4:08 PM, Derek Fawcus wrote:
> e.g., how would the equivalent of this args end up in a D rendition:
> 
> ```C
> int foo(char * _Nonnull * _Nullable a, int * _Nullable * _Nonnull b);
> ```

```d
int foo(_Nullable!(_Nonnull!char)) a, _Nonnull!(_Nullable!int) b);
```


More information about the Digitalmars-d mailing list