
C++23 eliminates friend declarations in encapsulated CRTP interfaces to improve encapsulation. This change addresses weak access control in CRTP designs using public inheritance. The update simplifies interface safety and reduces unintended access in template-based code.
Tap to vote and see what everyone thinks.