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



--- Comment #4 from Dmitry Olshansky <dmitry.o...@gmail.com> 2012-07-22 
08:30:32 PDT ---
Reduced by hand even futher:

//-----------in file uni.d 
template BasicSetOps()
{
    const opBinary(string op, U)(U ) 
    if(is(typeof(U.init.isSet)) )
    {
    }

}

struct Set(T)
{

this(this) 
{
}

mixin BasicSetOps;
}

//-----------in file regex.d 
import std2.uni;

int[const(Set!uint)] trieCache;

void getTrie()
{
Set!(uint).init in trieCache;
}


All of lines seem equally important (postblit, mixed-in opBinary with exact
constraint, usage of in operator on hash etc.)

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

Reply via email to