libstdc++: Export std::indirect and std::polymorphic from std module [PR119152]

PR libstdc++/119152

libstdc++-v3/ChangeLog:

	* src/c++23/std.cc.in (std::indirect, pmr::indirect)
	[__cpp_lib_indirect]
	(std::polymorphic, pmr::polymorphic) [__cpp_lib_polymorphic]: Export.
This commit is contained in:
Tomasz Kamiński
2025-06-04 16:39:43 +02:00
parent 66fc62e9c7
commit a37f996fce

View File

@@ -1956,6 +1956,14 @@ export namespace std
using std::out_ptr;
using std::inout_ptr;
#endif
#if __cpp_lib_indirect
using std::indirect;
namespace pmr { using std::pmr::indirect; }
#endif
#if __cpp_lib_polymorphic
using std::polymorphic;
namespace pmr { using std::pmr::polymorphic; }
#endif
}
// 20.4 <memory_resource>