2 ms·
RAII is hardly a trait of modern C++.
by eps 12y ago
RAII is hardly a trait of modern C++.
- 72deluxe 12y agoEh? How do you mean that?
- vidarh 12y agoPresumably that it's nothing new. The term RAII dates to the mid to late 80's sometime, and you could hardly find any book about C++ from the 90's onwards that wouldn't be espousing RAII as the One True Way. RAII has been with C++ almost from the beginning.
- deong 12y agoYes, but "modern" doesn't imply that no feature is older than Twitter. "Modern C++" refers to the way that C++ is written today, and some of that is new additions to the language, some has been there for ages.
- leoc 12y agoIs your meaning that it's not a distinctive trait of modern C++?