About 6,280,000 results
Open links in new tab
  1. c++20 - What exactly are C++ modules? - Stack Overflow

    Mar 27, 2014 · I've been following up C++ standardization and came across C++ modules idea. I could not find a good article on it. What exactly is it about?

  2. C++ 20 Modules: submodules vs module partition difference

    Apr 12, 2024 · A module partition is a component of a module which can be imported by other files that are themselves components of a module. This allows them to be used for private …

  3. c++ - Why is "import std;" giving a "could not find module file for ...

    Aug 8, 2023 · 7 It is no longer be necessary to use "Enable Experimental C++ Standard Library Modules". That refers to an older implementation of the C++ Modules TS. This article, from …

  4. How to use c++20 modules with CMake? - Stack Overflow

    Aug 1, 2019 · Clang and MSVC already supports Modules TS from unfinished C++20 standard. Can I build my modules based project with CMake or other build system and how? I tried …

  5. How to use CMake to build a project with C++23 standard library …

    May 17, 2023 · As we know, C++23 support Standard Library Modules. Until May 2023, MSVC support it but we need add Standard Library Modules manually as Microsoft blog mentioned. …

  6. c++ - How to do `import std` with CMake - Stack Overflow

    Oct 18, 2023 · Must add /experimental:module when complie command even document say "enabled automatically by either /std:c++20 or /std:c++latest" link. I still don't know how to …

  7. How to use C++20 modules with GCC? - Stack Overflow

    C++20 support is not complete (which is fair enough given that we're in 2020! And C++20 technically doesn't exist yet…). However, with some flags and a development branch you can …

  8. Unable to Import C++ Modules - Stack Overflow

    May 4, 2021 · I'm trying to rebuild a project of mine in C++ 20 using modules to reduce dependencies and compilation times. I tried importing some modules, and I'm able to do so, …

  9. Shared libraries and c++20 modules - Stack Overflow

    Oct 5, 2021 · 6 C++20 modules have no special relationship with shared libraries. They are primarily a replacement of header files. This means that you would develop a shared library …

  10. c++ - How do I get the HMODULE for the currently executing …

    I have a static library that may get linked into either a .exe or a .dll. At runtime I want one of my library functions to get the HMODULE for whatever thing the static library code has been linke...