3 ms·
Yeah, this only works if you initialize at the same time as declaration. And as you say, without const, the same code is generated. All it prevents is acciden
by loeg 7y ago
Yeah, this only works if you initialize at the same time as declaration. And as you say, without const, the same code is generated. All it prevents is accidental reuse of current_foo, which may have some value.