Diskuze: Rozdiel medzi "constructor initialization", "uniform initialization" a normálnou inicializáciou premennej
Zobrazeno 2 zpráv z 2.
//= Settings::TRACKING_CODE_B ?> //= Settings::TRACKING_CODE ?>
In C++, there are three ways to initialize variables. They are all equivalent and are reminiscent of the evolution of the language over the years.
Tu to máš...
Ale doporučuji používat typ jmeno{...}; Je to moderní způsob a můžeš s ním inicializovat vše stejným, jednotným způsobem.
Zobrazeno 2 zpráv z 2.