Re: find_overload_match for constructor

Weller <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.