Thread overview | |||||
---|---|---|---|---|---|
|
June 07, 2015 C++ static-if; how is it so different? | ||||
---|---|---|---|---|
| ||||
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 Re: C++ static-if; how is it so different? | ||||
---|---|---|---|---|
| ||||
Posted in reply to lobo | 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 Re: C++ static-if; how is it so different? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dennis Ritchie | 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
|
Copyright © 1999-2021 by the D Language Foundation