Compiler generated functions sometime do things that you don’t like. How to disallow the compiler generated functions from being used, or even any other functions from being used.
Errata:
As kindly pointed out by treweof, there is a typo at around 4:16: g() missing a return type. But it doesn’t affect the overall validness of reasoning. Even if g() is given a return type, the code will error out because the copy constructor has no definition.
Notes can be downloaded from:
42 views
121
26
6 months ago 00:11:22 1
Advanced C #1: function pointers
6 months ago 00:00:00 1
Стрим на Rodina RP на Северном Округе/ рулетка/ мпшки/ розыгрыш/ номерные знаки #shorts
6 months ago 00:16:52 1
Сравнение новых псевдоклассов CSS — :is() :where() :has()