On forcing all derived classes to implement a specific non-virtual method, part 2 -- Raymond Chen

Building on the previous article, Raymond Chen explores how deleted functions can produce clearer compiler errors when derived classes fail to implement required non-virtual methods. He also examines C++26’s new custom diagnostic messages for deleted functions, their compiler support, and why this…

dev

Sources