delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/16/22:00:14

Date: Wed, 17 Feb 1999 08:43:20 +0530 (IST)
From: "Raju K.V" <rajukv AT wipinfo DOT soft DOT net>
X-Sender: rajukv AT tagore
To: djgpp AT delorie DOT com
Subject: constructor names
Message-ID: <Pine.SV4.3.93.990217083639.18320A-100000@tagore>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

hi all, 

In C++, can I call the constructor for a class by any other name?
For eg in class foo, the constructors are usually called foo() etc.
But can I call the constructor function by some other name?

Sorry if this is a C++ specific question.

Thanks

Raju

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019