From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 103073 invoked by alias); 29 May 2015 11:35:30 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 103054 invoked by uid 89); 29 May 2015 11:35:30 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 29 May 2015 11:35:29 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id 787953897AF; Fri, 29 May 2015 11:35:28 +0000 (UTC) Received: from host1.jankratochvil.net (ovpn-116-53.ams2.redhat.com [10.36.116.53]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t4TBZOCp009684 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 29 May 2015 07:35:27 -0400 Date: Fri, 29 May 2015 11:35:00 -0000 From: Jan Kratochvil To: Weller Cc: gdb@sourceware.org, Phil Muldoon Subject: Re: find_overload_match for constructor Message-ID: <20150529113524.GA15937@host1.jankratochvil.net> References: <20150508092906.GA23005@bfw-online.de> <20150529112931.GA1850@bfw-online.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150529112931.GA1850@bfw-online.de> User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes X-SW-Source: 2015-05/txt/msg00037.txt.bz2 On Fri, 29 May 2015 13:29:31 +0200, Weller wrote: > Anyone got any ideas how this could be achieved? Officially it is not supported. I remember I achieved that one by calling malloc() and passing the address as the first parameter to a constructor (its 'this') but that is a hack. It should be supported by the 'compile code' integration with GCC but its C++ part is not yet ready. Jan