[Bug c++/82619] C++17 std::apply treated as in global namespace under certain circumstances

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Oct 19 17:00:00 GMT 2017


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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2017-10-19
     Ever confirmed|0                           |1

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to tower120 from comment #0)
> Created attachment 42403 [details]
> cmake project. Look at test/main.cpp

I'm not going to look at this big pile of code, please provide preprocessed
source for the file that gives an error, as requested by the page you were told
to read when creating this bug report: https://gcc.gnu.org/bugs/

(In reply to d25fe0be@ from comment #1)
> If a `std::tuple` is passed in as `tuple`, isn't `std::apply` found by ADL?

Yes.


More information about the Gcc-bugs mailing list