Ark
Ark copied to clipboard
Add a proxy to include windows.h to avoid having it polluting everything
Is your feature request related to a problem?
Including windows.h is like including a virus, it goes everywhere and causes problems with std::min and std::max by defining macros with those names.
Describe the solution you would like
It would be interesting to see the approach described in https://aras-p.info/blog/2018/01/12/Minimizing-windows.h/ to avoid this pollution and make developing on Windows much better.
Is it a big modification to the language? Leave it if you don't know
- [ ] Breaking change
- [ ] Compiler/syntax modifications
- [ ] Runtime modifications (standard library, modules, packages...)