Template Constraints Quiz
When doesn’t returnIfPrimeParam(25)
compile?
Because 25 is not prime | While 25 is indeed not prime, this is not the reason the function coll does not compile. | |
Because the parameter value is not known at compile time | Correct! | |
Because | While 25 is indeed not prime, this is not the reason the function coll does not compile. | |
Because its template paremeter is not explicitly specified | While 25 is indeed not prime, this is not the reason the function coll does not compile. |