On Tue, 08 Apr 2014 15:57:31 -0400, Andrei Alexandrescu
<[email protected]> wrote:
On 4/8/14, 12:56 PM, Andrei Alexandrescu wrote:
On 4/8/14, 12:54 PM, Steven Schveighoffer wrote:
On Tue, 08 Apr 2014 15:51:31 -0400, Andrei Alexandrescu
<[email protected]> wrote:
On 4/8/14, 12:23 PM, Steven Schveighoffer wrote:
What about allowing enum methods?
No because CTFE. -- Andrei
What about what I said is prevented by or prevents CTFE (not sure what
your objection is)?
CTFE renders enum methods unnecessary. -- Andrei
Wrong term - UFCS. -- Andrei
OK, that makes more sense :)
So the idea was to eliminate enum operations, except for what was defined
in the enum itself. A kind of way to dictate via code the operations that
make sense for that enum set.
So this goes with a way to disable all operations that normally are
accepted (except equality).
-Steve