🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Stefano Casadei Sun, 23 Aug 1992 03:03
constructor call during initialization of same class
#211
Author: Stefano Casadei
Date: Sun, 23 Aug 1992 03:03
10 lines
794 bytes
Is it possible to define a class constructor which invokes another
constructor of the same class during the initialization phase (i.e. between
the : and the body) ? If not, why is such a simple feature not implemented
in the language ?

Please reply also to: casadei@cesena.mit.edu

Thanks.

Stefano
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads