Closed pbauman closed 3 years ago
Deleted all the unnecessary = delete
default constructors (which turned out to be all of them, lol). Squashed in another = default
on a destructor and saw a few more inheriting constructors that could be used so dropped those in da6f285; certainly not exhaustive, was just opportunistic.
Just to clarify, I think this is good to go if you're good with it @roystgnr
Started going down the rabbit hole of adding
override
last weekend and ended up also going down the rabbit hold of usingdefault
in many places, usingdelete
on many of the default constructors we don't want to allow to be used. This led to the "using inherited constructor idiom", removingreturn;
code smells and some whitespace. I did this pretty incrementally, but I couldn't squash all the commits together cleanly and I didn't think it was worth the time to try and go back and do that, so there's a few default keyword and delete keyword commits that aren't squashed.