How to enable IDE/editor code-completion for projects/free-files based on C++20 modules?
I'm getting started working with "modules (since C++20)" and before to start with a whole new project based on modules, I've been making some testing with free C++ files (.cpp and .cppm, but also with .ixx, cxx), compiling with a terminal command (without CMake). So, in any folder with multiple C++ files, specifying the corresponding files, for example: g++ -std=c++23 -fmodules main.cpp module_1.cppm -o main && ./main g++ -std=c++26 -fmodules main.cpp module_1.cppm -o main && ./main For now, the compilation seems to be working as should, from the main(), calling a function in a module file "mo
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.