This is a discussion on Want to Know More within the C and C++ forums, part of the Programming Talk category; I wanted to try out some sample programs on member template explicit specialization .I have a doubt whether it is ...
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Want to Know More
I wanted to try out some sample programs on member template explicit specialization .I have a doubt whether it is possible to explicitly specialize the inner template. Are there any guidelines or rules for carrying out this Kindly help me to know more on this process?
|
|
|||
|
Yes as you have asked there are some process rules for handling member template explicit specialization. It is not possible to explicitly specialize the inner template. You cannot explicitly specialize the inner template without explicitly specializing the enclosing template type. So follow this and make a try with your program as otherwise you would get a compiler error for sure.
|