[Bug c++/106851] [modules] Name conflict for exported using-declaration

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 6 14:31:40 GMT 2024


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106851

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I tried doing it this way instead

namespace std {
  export using std::vector;
  namespace pmr {
    export using std::vector;
  }
}

but that didn't work, nothing got exported. But maybe that will be fixed by
Nathaniel's https://gcc.gnu.org/pipermail/gcc-patches/2024-March/647088.html


More information about the Gcc-bugs mailing list