Herb Sutter is planning to reduce C++'s complexity

Per Nordlöw per.nordlow at gmail.com
Sun Oct 11 11:46:36 UTC 2020


At [1] Herb Sutter outlines his plans for simplifying C++'s 
complexity. Good that they realize the importance of this.

Specifically there's a plan to copy the meaning of D's parameter 
qualifiers `in`, `out` and `inout` (`ref` in D).

At 17:51 in [2], he interestingly mentions the rules for passing 
`in` parameters where passing-type should be inferred just like 
the newest update of `-preview=in` does.

He also mentions more inference of pass-by-move similar to what 
Walter has proposed at [3]

[1] ”Empirically Measuring, & Reducing, C++’s Accidental 
Complexity - Herb Sutter - CppCon 2020” på YouTube: 
https://youtu.be/6lurOCdaj0Y

[2] https://youtu.be/6lurOCdaj0Y?t=1071

[3] "Copying, Moving, and Forwarding": 
https://github.com/dlang/DIPs/blob/ed106bfb4a332d77df3288054006062a4e2a0e3e/DIPs/13NNN-WGB.md


More information about the Digitalmars-d mailing list