From: Weller <weller@bfw-online.de>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: gdb@sourceware.org
Subject: Re: find_overload_match for constructor
Date: Fri, 29 May 2015 11:42:00 -0000 [thread overview]
Message-ID: <20150529114243.GA13783@bfw-online.de> (raw)
In-Reply-To: <20150529113524.GA15937@host1.jankratochvil.net>
Okay thanks for the quick answer. I might try that hack and see if it
works good enough for my problem. If not I'll have to include a few
extra functions in the library to allow non-constructor calls for the
class.
Lennart
On Fri, May 29, 2015 at 01:35:24PM +0200, Jan Kratochvil wrote:
> 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
prev parent reply other threads:[~2015-05-29 11:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-08 9:29 Weller
2015-05-29 11:29 ` Weller
2015-05-29 11:35 ` Jan Kratochvil
2015-05-29 11:42 ` Weller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150529114243.GA13783@bfw-online.de \
--to=weller@bfw-online.de \
--cc=gdb@sourceware.org \
--cc=jan.kratochvil@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox