Discussion Forum : Templates
Question - Which parameter is legal for non-type template?
Options:
A .  pointer to member
B .  object
C .  class
D .  none of the mentioned
Answer: Option A


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.



Was this answer helpful ?
Next Question
Submit Your Solution hear:

Your email address will not be published. Required fields are marked *