design-patterns-cpp icon indicating copy to clipboard operation
design-patterns-cpp copied to clipboard

Switch to Using Modern C++ Classes

Open dinomight opened this issue 4 years ago • 0 comments

I noticed a lot of raw pointer usages throughout the examples. I wanted to go through and fix it up to use unique_ptr and shared_ptr where appropriate. Would there be any objections to that? What about using some of the more modern language versions like C++14/17/20? Newer compilers don't support the C++11 flag anymore and default to C++14 considering the C++11 standard is now 10 years old. Is there any minimum compiler requirements being targeted by these examples?

dinomight avatar Jan 17 '22 19:01 dinomight