A small detail question:

 

(Also) in the standard context new "names" can be introduced into existing classes:

 

c.Shape::width()

 

What if the class has a member named Shape?

Which has precedence? Or does the double colon / namespace specifier uniquely specify whether a class concept or member was meant?

 

Especially with generic programming nameclashes could not always be avoided.

 

 

-----Ursprüngliche Nachricht-----
Von: Михаил Найденов via Std-Proposals <std-proposals@lists.isocpp.org>
Gesendet: So 27.08.2023 15:31
Betreff: [std-proposals] Draft Proposal for elaborate extension points
Anlage: ClassConcept.html
An: sotrdg sotrdg via Std-Proposals <std-proposals@lists.isocpp.org>;
CC: Михаил Найденов <mihailnajdenov@gmail.com>;
Hello, 
Below is proposal draft for a "interface-like" class which would serve as an extension point. 
It is a continuation of the https://lists.isocpp.org/std-proposals/2023/06/6894.php discussion.
 
Thank You

Няма вирусиwww.avast.com
-- 
 Std-Proposals mailing list
 Std-Proposals@lists.isocpp.org
 https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
 

(A