|
|
|
|
|
by ncruces
266 days ago
|
|
> I don't understand why people insist on simulating a poor substitute for RAII with a feature that is itself almost decent RAII. RAII doesn't make sense without initialization. Are you proposing C should add constructors, or that C should make do without defer because it can't add constructors? |
|
Rust has RAII and does not have constructors.