@@ -176,7 +176,7 @@ cmake -S . -B build -G Ninja -DHIBF_MODULE=ON
176176#include < cstddef>
177177#include < vector>
178178
179- import hibf;
179+ import seqan. hibf;
180180
181181int main ()
182182{
@@ -191,17 +191,17 @@ int main()
191191On top of HIBF's usual requirements, this needs CMake >= 3.28 and the Ninja generator; every compiler
192192HIBF supports can build the module. CI covers the latest GCC and Clang version.
193193
194- The switch is additive rather than exclusive. ` src/hibf.cppm ` includes the headers in its * global module fragment * , so
195- imported and included declarations name the same entities:
194+ The switch is additive rather than exclusive. ` src/seqan. hibf.cppm ` includes the headers in its * global module
195+ fragment * , so imported and included declarations name the same entities:
196196
197197* ` libhibf.a ` is the same either way; the module adds one almost empty object file.
198- * Headers keep working unchanged, and a single translation unit may both ` #include <hibf/...> ` and ` import hibf; ` .
198+ * Headers keep working unchanged, and a single translation unit may both ` #include <hibf/...> ` and ` import seqan. hibf; ` .
199199 Downstream projects can therefore migrate file by file.
200200* ` HIBF_HAS_MODULE ` is defined when the module was built, for code that has to support both modes.
201201
202202Two caveats:
203203
204- * Only the names listed in ` src/hibf.cppm ` are visible to importers. ` seqan::stl ` (the ` include/hibf/contrib ` standard
205- library backports) is not exported; use the headers for those.
206- * GCC 16 rejects a textual ` #include ` that appears * after* an ` import hibf; ` in the same translation unit. Put includes
207- first. Clang accepts either order.
204+ * Only the names listed in ` src/seqan. hibf.cppm ` are visible to importers. ` seqan::stl ` (the ` include/hibf/contrib `
205+ standard library backports) is not exported; use the headers for those.
206+ * GCC 16 rejects a textual ` #include ` that appears * after* an ` import seqan. hibf; ` in the same translation unit. Put
207+ includes first. Clang accepts either order.
0 commit comments