| ▲ | mathisfun123 2 hours ago | |
i write C++ every day (i actually like it...) but absolutely no one is going to switch from C to C++ just for dtors. | ||
| ▲ | flohofwoe 26 minutes ago | parent | next [-] | |
> but absolutely no one is going to switch from C to C++ just for dtors The decision would be easier if the C subset in C++ would be compatible with modern C standards instead of being a non-standard dialect of C stuck in ca. 1995. | ||
| ▲ | kibwen an hour ago | parent | prev | next [-] | |
No, RAII is one of the primary improvements of C++ over C, and one of the most ubiquitous features that is allowed in "light" subsets of C++. | ||
| ▲ | Pay08 2 hours ago | parent | prev [-] | |
Weren't dtors the reason GCC made the switch? | ||