🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.upgrade
Article #2448

Re: overloading constructors in inherited forms

#2448
From: Stefan Hoffmeister (TeamB)
Date: Mon, 06 Dec 1999 00:00
30 lines
1482 bytes
: "stuart kruse" <s.a.kruse@open.ac.uk> wrote:

>Yes Liz, the second paramter is an int
>is there any work around this problem? it seems a
>pretty fundamental limitation if there isn't.........

Actually there already *is* a constructor with the signature

  TComponent*, int

so the best you can do is not to use that signature for a constructor of
yours; use, for instance

  TComponent*, int, int Dummy

or

  int, TComponent*

or whatever else gets you out of the conflict with the existing
constructor.

-- 
General information:
  * Post to the right group - http://www.borland.com/newsgroups/
    * Do not cross- or multipost 
      * Research at http://www.mers.com/searchsite.html

Stefan Hoffmeister - http://www.econos.de/
(TeamB - http://www.teamb.com/)
Technical Details
Message-ID: <91un4soj5rcjlcq3jchd5j8osaiilc9ga3@4ax.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <82go8a$5p416@forums.borland.com> <82gpk7$5ph11@forums.borland.com> <82gqi4$5p512@forums.borland.com> <82grf8$8s01@forums.borland.com> <82grku$8rs1@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10529a,2b0adff5887013fc
X-Google-Attributes: gid10529a,public
From: "Stefan Hoffmeister (TeamB)" <Stefan.Hoffmeister@Econos.de>
Subject: Re: overloading constructors in inherited forms
Date: 1999/12/06
Message-ID: <91un4soj5rcjlcq3jchd5j8osaiilc9ga3@4ax.com>
X-Deja-AN: 557341305
Content-Transfer-Encoding: 7bit
References: <82go8a$5p416@forums.borland.com> <82gpk7$5ph11@forums.borland.com> <82gqi4$5p512@forums.borland.com> <82grf8$8s01@forums.borland.com> <82grku$8rs1@forums.borland.com>
Organization: .
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.cppbuilder.upgrade