diff --git a/libcxx/modules/std/atomic.cppm b/libcxx/modules/std/atomic.cppm index 9c1948494bd4a..faf902b768d75 100644 --- a/libcxx/modules/std/atomic.cppm +++ b/libcxx/modules/std/atomic.cppm @@ -23,9 +23,6 @@ export namespace std { using std::memory_order_seq_cst; using std::kill_dependency; -} // namespace std - -namespace std { // [atomics.ref.generic], class template atomic_ref // [atomics.ref.pointer], partial specialization for pointers diff --git a/libcxx/modules/std/execution.cppm b/libcxx/modules/std/execution.cppm index 6ea12c0dc4ee4..e0996f33d4152 100644 --- a/libcxx/modules/std/execution.cppm +++ b/libcxx/modules/std/execution.cppm @@ -17,7 +17,7 @@ export namespace std { using std::is_execution_policy_v; } // namespace std -namespace std::execution { +export namespace std::execution { // [execpol.seq], sequenced execution policy using std::execution::sequenced_policy; diff --git a/libcxx/modules/std/filesystem.cppm b/libcxx/modules/std/filesystem.cppm index ea8136b4ef9fc..c6dac368a1cd5 100644 --- a/libcxx/modules/std/filesystem.cppm +++ b/libcxx/modules/std/filesystem.cppm @@ -110,11 +110,11 @@ export namespace std::filesystem { } // namespace std::filesystem // [fs.path.hash], hash support -namespace std { +export namespace std { using std::hash; } -namespace std::ranges { +export namespace std::ranges { using std::ranges::enable_borrowed_range; using std::ranges::enable_view; } // namespace std::ranges