Thread overview
C++ static-if; how is it so different?
Jun 07, 2015
lobo
Jun 07, 2015
Dennis Ritchie
Jun 07, 2015
lobo
June 07, 2015
C++17 is looking more and more like D everyday, just with a noisy and messy syntax. I found this proposal of interest:

http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4461

Especially this comment in the last paragraph:

> ...since it's not identical or even very similar to the static if in D, ...

I don't quite get this because to me it seems to be simply a subset of the D feature. Also the examples shown are basically how I use the D static-if now.

If anyone knows why the proposal claims to be so different from D's static-if (modulo the restrictions mentioned) I'd be interested to know why.


Thanks,
lobo
June 07, 2015
On Sunday, 7 June 2015 at 02:38:57 UTC, lobo wrote:
> If anyone knows why the proposal claims to be so different from D's static-if (modulo the restrictions mentioned) I'd be interested to know why.

http://forum.dlang.org/post/mke22o$2l9i$1@digitalmars.com
June 07, 2015
On Sunday, 7 June 2015 at 09:00:29 UTC, Dennis Ritchie wrote:
> On Sunday, 7 June 2015 at 02:38:57 UTC, lobo wrote:
>> If anyone knows why the proposal claims to be so different from D's static-if (modulo the restrictions mentioned) I'd be interested to know why.
>
> http://forum.dlang.org/post/mke22o$2l9i$1@digitalmars.com

Thanks for the link ... I should search before posting :)

bye,
lobo