Does dmd have SSE intrinsics?
Lutger
lutger.blijdestijn at gmail.com
Tue Sep 22 09:31:26 PDT 2009
Jeremie Pelletier wrote:
...
> Why would you declare void variables? The point of declaring typed
> variables is to know what kind of storage to use, void means no storage
> at all. The only time I use void in variable types is for void* and
> void[] (which really is just a void* with a length).
>
> In fact, every single scope has an infinity of void variables, you just
> don't need to explicitly declare them :)
>
> 'void foo;' is the same semantically as ''.
exactly: thus 'return foo;' in generic code can mean 'return;' when foo is
of type void. This is similar to how return foo(); is already allowed when
foo itself returns void.
More information about the Digitalmars-d
mailing list