From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 72946 invoked by alias); 5 Oct 2015 01:55:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 72180 invoked by uid 48); 5 Oct 2015 01:55:10 -0000 From: "ville.voutilainen at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67844] [6 Regression] Cannot make tuple of class with template constructor Date: Mon, 05 Oct 2015 01:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ville.voutilainen at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ville.voutilainen at gmail dot com X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-10/txt/msg00292.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67844 Ville Voutilainen changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |ville.voutilainen at gmail dot com Assignee|unassigned at gcc dot gnu.org |ville.voutilainen at gmail dot com --- Comment #2 from Ville Voutilainen --- To the extent anything in this area is obvious, yes. :) The check for non-nested tuple ends up in infinite meta-recursion because A is constructible from the tuple itself. I think that can be tackled by adding an is_same check to _TNTC so that the converting templates that take a tuple outright reject tuples that are the same as the tuple itself. Fixing...