Login
From:
www.foonathan.net
(Uncensored)
subscribe
Write explicit constructors - but what about assignment?
https://www.foonathan.net/2017/10/explicit-assignment/
links
backlinks
You can mark constructors as explicit to prevent implicit conversions. But how should you handle assignment? Should you write an assignment operator as well?
Roast topics
Find topics
Roast it!
Roast topics
Find topics
Find it!
Roast topics
Find topics
Find it!