NotNull Parser
Timon Gehr
timon.gehr at gmx.ch
Fri Aug 3 03:53:03 PDT 2012
On 08/03/2012 12:38 PM, Namespace wrote:
> In context with my post here:
> http://forum.dlang.org/thread/gajrorlwnrriljxnxfmt@forum.dlang.org#post-egvyqwkcqjglhrvujkar:40forum.dlang.org
>
>
> I wrote the last days a NotNull Parser.
> What is this?
> The NotNull Parser generate for parameter statements with a
> following "?" valid preconditions.
>
> Example:
> [code]
> void foo(Object? o) {
> // do something with o
> }
> [/code]
>
> will convert into
The notation 'T?' is normally used for a nullable type.
More information about the Digitalmars-d-learn
mailing list