DStep - Bindings Generator 0.0.1
Andrej Mitrovic
andrej.mitrovich at gmail.com
Fri Jul 20 06:04:54 PDT 2012
On 7/7/12, Jacob Carlborg <doob at me.com> wrote:
> snip
Nice work!
Can I ask you something? Do you know if (lib)clang exports typeinfo
for default values? For example:
namespace Foo
{
enum En
{
Val1,
Val2
};
}
void test(int x = Foo::Val1) { }
'x' has typeinfo (it's an int), but I'm interested in the typeinfo for
the default value "Foo::Val1". In other tools (like gccxml) the
default value is exported as a string which makes generating default
values in D hard (not impossible but just hard).
More information about the Digitalmars-d-announce
mailing list