Sujet : Re: Pre-main construction order in modules
De : Bonita.Montero (at) *nospam* gmail.com (Bonita Montero)
Groupes : comp.lang.c++Date : 01. Apr 2025, 13:16:38
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vsglej$32t2m$1@raubtier-asyl.eternal-september.org>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
User-Agent : Mozilla Thunderbird
Am 01.04.2025 um 12:00 schrieb Fred. Zwarts:
One may wonder why we still need a 'main'. Everything in main can be done in an static object.
It's easier to define a main() since it needs less syntax than a class.