[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Constructors
From: |
Han-Wen Nienhuys |
Subject: |
Re: Constructors |
Date: |
Tue, 29 Apr 2003 01:36:16 +0200 |
address@hidden writes:
> Jan Nieuwenhuizen wrote:
> > Dirk De Becker <address@hidden> writes:
> >
> >
> >>where this "add_constructor" is actually called in the code. Can
> >>someone give me a clue on this?
> >
> >
> > See lily/include/global-ctor.hh
>
> I had already found this file with the definition of add_constructor,
> but I don't find any place in the code where this function is actually
> called.
> It seems to happen before entering the main-function in the file main.cc
add_constructor is called on the creation of
_ ## y ## _ctor_init;
where Y is some name.
--
Han-Wen Nienhuys | address@hidden | http://www.cs.uu.nl/~hanwen