template and constraints
bioinfornatics
bioinfornatics at fedoraproject.org
Mon Aug 20 15:08:51 PDT 2012
Thanks to Timon Gehr and David
____
double div(alias a, alias b)() if( a > 0 && b > 0 ){
return a / b;
}
____
works as expected :-)
More information about the Digitalmars-d-learn
mailing list