digitalmars.D.learn - C++ static-if; how is it so different?
- lobo (12/14) Jun 06 2015 C++17 is looking more and more like D everyday, just with a noisy
- Dennis Ritchie (2/5) Jun 07 2015 http://forum.dlang.org/post/mke22o$2l9i$1@digitalmars.com
- lobo (4/9) Jun 07 2015 Thanks for the link ... I should search before posting :)
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
Jun 06 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
Jun 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:Thanks for the link ... I should search before posting :) bye, loboIf 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
Jun 07 2015