Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Clang is the first compiler to start working on modules even before the standardization is complete. There is not much of a documentation yet, but example code could be found here: <br /> <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Modules/" rel="noreferrer">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Modules/</a> <br/></p> <p>Some comments from Douglas Gregor (the developer implementing them): <br/> <a href="http://clang-developers.42468.n3.nabble.com/C-modules-td3619936.html" rel="noreferrer">http://clang-developers.42468.n3.nabble.com/C-modules-td3619936.html</a></p> <p>In theory, you can define a bunch of helper macros like begin_module, end_module, import_module to shield yourself from any likely changes to the syntax that will come in the future. </p> <p>EDIT 1: <br /> Douglas Gregor has released a presentation about his implementation:<br /> <a href="http://llvm.org/devmtg/2012-11/Gregor-Modules.pdf?=submit" rel="noreferrer">http://llvm.org/devmtg/2012-11/Gregor-Modules.pdf?=submit</a></p> <p>EDIT 2: <br /> The module support in clang have been documented here: <br /> <a href="http://clang.llvm.org/docs/Modules.html" rel="noreferrer">http://clang.llvm.org/docs/Modules.html</a></p> <p>EDIT 3: <br /> Modules are now supported in Microsoft's C++ compiler as well: <a href="http://blogs.msdn.com/b/vcblog/archive/2015/12/03/c-modules-in-vs-2015-update-1.aspx" rel="noreferrer">http://blogs.msdn.com/b/vcblog/archive/2015/12/03/c-modules-in-vs-2015-update-1.aspx</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload