[Issue 5217] Permit static+abstract

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Nov 16 16:01:55 PST 2010


http://d.puremagic.com/issues/show_bug.cgi?id=5217



--- Comment #2 from Austin Hastings <ah08010-d at yahoo.com> 2010-11-16 16:00:37 PST ---
What I'm asking for is "abstract static". That is, a syntax for imposing a
requirement that a class (or struct) provide a static member function before it
can be instantiated.

In my particular use case, I've got a template and would like to impose a
requirement for a factory method on any realizations of the template.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list