6 ms·
I'm obviously not talking about modules-level features that may never get to see the light of day. A random(min, max) function isn't rocket science and already
by m-schuetz 1y ago
I'm obviously not talking about modules-level features that may never get to see the light of day.
A random(min, max) function isn't rocket science and already a major inprovement over the three-liner that is currently necessary. The major compiler devs won't take long to implement these cases, just as it did not take them long to implement simple yet useful functionality in previous versions of the standard. And the standard library is full with these cases of missing convenience functions over deliberately over-engineered functions.
- pjmlp 1y agoModules have already seen the light of day in VC++ and clang. Anyone using a recent version of Office, is using code that was written with C++20 modules. It is relatively easy to see how far behind compiler developers are regarding even basic features. Note that two of the three major surviving compilers are open source projects, and in all three major compilers, the big names have ramped down their contributions, as they rather invest into their own languages, seeing the current versions as good enough for existing codebases.