This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: find_overload_match for constructor


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]