Example #1
0
int main()
{
    Number<100> a;
    a.IsPrime();
    return 0;
}
Example #2
0
 //int answer = PrimeCube<i,i-1>::answer;   can not be compile;
 void IsPrime()
 {
     if(answer) cout << setw(4) << right << i ;
     n.IsPrime();
     cout << setw(2) << right << answer;
 }