cppfront icon indicating copy to clipboard operation
cppfront copied to clipboard

Minor corrections in terms of readability and performance

Open MarchMore opened this issue 3 years ago • 1 comments

Fixed implicit casts to bool. Replaced "auto" with "auto*" for readability. Added "noexcept" to move constructor and move assignment operator at c_raii class.

Signed-off-by: MarchMore [email protected]

MarchMore avatar Oct 28 '22 22:10 MarchMore

I wasn't aware of this one. Reverted corresponding code.

MarchMore avatar Oct 29 '22 08:10 MarchMore

Thanks! I like the two noexcepts and will add those separately in another commit I'm doing, should land in the next push.

hsutter avatar Dec 06 '22 01:12 hsutter