Andrei Alexandrescu:

> This is actually a pretty awesome fail.


Derived from those thoughts, an idea for Phobos, a bitFlags function:
http://d.puremagic.com/issues/show_bug.cgi?id=6946

A desire:
http://d.puremagic.com/issues/show_bug.cgi?id=6916

Example:

import std.stdio;
enum : int { A, B }
void main() {
    writeln(B); // I'd like it to print "B" here.
}


I think this is related to:
http://d.puremagic.com/issues/show_bug.cgi?id=5004

Bye,
bearophile

Reply via email to