What can be passed by non-type template parameters during compile time?
A. int
B. float
C. constant expression
D. none of the mentioned
Answer:A
What can be passed by non-type template parameters during compile time?
A. int B. float C. constant expression D. none of the mentioned
Explanation:Non-type template parameters provide the ability to pass a constant expression at compile time. The constant expression may also be an address of a function, object or static class member.