RFC: A tailconst template

Sönke Ludwig ludwig at informatik_dot_uni-luebeck.de
Wed Feb 27 00:50:04 PST 2008


Sönke Ludwig wrote:
> 
> 1. __traits(allMembers, T) does not seem to list methods which have only 
> const
>    or invariant overloads:
> 
>    class C {
>      const int myfunc();
>    }
> 
>    in this case __traits(allMembers, C) would be empty. If there is no 
> specific
>    reason for this, I'll file a bug report for this.
> 

related bug report:
http://d.puremagic.com/issues/show_bug.cgi?id=1874



More information about the Digitalmars-d mailing list