slynch8 / 10x

10x IDE/Editor
189 stars 33 forks source link

C++ Modules #2029

Open vulcan-dev opened 1 year ago

vulcan-dev commented 1 year ago

With C++20, they seem to be moving towards modules. With this, you get import MyModule or something like import <memory>. I'm not exactly sure how those really work, but for some of them (like memory, Windows.h), I suppose that could possibly just be the exact same thing as #include for now, until you get around to supporting these modules.

I've decided to use it for my new project, so if it's easy to add then I wouldn't mind having it next update. If not, then no worries.

slynch8 commented 1 year ago

import is now treated the same as include (1.0.77) Still need to support importing a module, but it's a start