Commit 300cb19
Include Seastar headers in module purview for automatic export
Changed from using 'export namespace seastar {}' to including Seastar headers
in the module purview (after 'export module'). This automatically exports:
- All symbols in the seastar namespace
- std::hash specializations (marked with SEASTAR_MODULE_EXPORT in headers)
Third-party headers (std, boost, system) remain in global module fragment
and are NOT exported. This matches the intended behavior and avoids the need
for explicit 'using' declarations for every symbol.
Co-authored-by: avikivity <[email protected]>1 parent ca0b7a8 commit 300cb19
1 file changed
+13
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
31 | | - | |
32 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| |||
140 | 142 | | |
141 | 143 | | |
142 | 144 | | |
143 | | - | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
144 | 150 | | |
145 | 151 | | |
146 | 152 | | |
| |||
293 | 299 | | |
294 | 300 | | |
295 | 301 | | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | 302 | | |
302 | 303 | | |
303 | 304 | | |
| |||
0 commit comments