Which parameter is legal for non-type template?
A. pointer to member
B. object
C. class
D. none of the mentioned
Answer:A
Which parameter is legal for non-type template?
A. pointer to member B. object C. class D. none of the mentioned
Explanation:The following are legal for non-type template parameters:integral or enumeration type, Pointer to object or pointer to function, Reference to object or reference to function, Pointer to member.