This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: find_overload_match for constructor
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Weller <weller at bfw-online dot de>
- Cc: gdb at sourceware dot org, Phil Muldoon <pmuldoon at redhat dot com>
- Date: Fri, 29 May 2015 13:35:24 +0200
- Subject: Re: find_overload_match for constructor
- Authentication-results: sourceware.org; auth=none
- References: <20150508092906 dot GA23005 at bfw-online dot de> <20150529112931 dot GA1850 at bfw-online dot de>
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