Question about version ( ) keyword

Joakim via Digitalmars-d digitalmars-d at puremagic.com
Mon Mar 21 08:14:37 PDT 2016


On Monday, 21 March 2016 at 14:51:48 UTC, Vincent R wrote:
> Hi,
>
> When looking at core definitions like core.sys.posix.pthread I 
> can see some "duplicated" code because it seems version doesn't 
> support Or as we would do in C/C++ with #ifdefined.
> For instance if can read this:
>
> [...]

The language creator is against it, more info can be found in 
forum threads like this one:

http://forum.dlang.org/thread/n0u5v3$1lsh$1@digitalmars.com


More information about the Digitalmars-d mailing list