std::to_underlying was missing from the std module introduced in
r15-5366-g7db55c0ba1baaf. This patch adds the missing export for this
utility.
libstdc++-v3/ChangeLog:
PR libstdc++/106852
* src/c++23/std.cc.in (to_underlying): Add.
Signed-off-by: Nicolas Werner <nicolas.werner@hotmail.de>
using std::make_pair;
using std::piecewise_construct;
using std::piecewise_construct_t;
+#if __cpp_lib_to_underlying
+ using std::to_underlying;
+#endif
using std::tuple_element;
using std::tuple_size;
#pragma GCC diagnostic push