Computer Science, asked by sharadmahajan3011, 1 month ago

Which parameter is legal for non-type template?​

Answers

Answered by shanvisharma
0

Answer:

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

Answered by Mayura680
1

Answer:

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.

Explanation:

Please make as Brainlist answer

Similar questions