Home » C++ Programming » Templates » Question
  1. Which parameter is legal for non-type template?
    1. object
    2. class
    3. pointer to member
    4. All of above
    5. None of these
Correct Option: C

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.



Your comments will be displayed only after manual approval.