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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
          Component|c++                         |libstdc++

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Complete testcase (would it really have hurt to include the headers to make the
testcase valid?)

#include <utility>
#include <string>
#include <tuple>

struct Test : public std::pair<int, std::string> {
    using std::pair<int, std::string>::pair;
};

Test p(std::piecewise_construct, std::forward_as_tuple(1),
std::forward_as_tuple("abcd"));

Reply via email to