In the below code (from the templates section of the tutorial) this template specialization is supposed to make a character uppercase - how does it do that?
Why does element+='A'-'a' make a character upper or lower case? I don't understand the syntax or the logic. Is this something I learn later or what?
keksiverto I have no idea what you mean and an alternate method wasn't what I was after. Gliblit, thank you very much. Your response was very helpful and I understand ascii codes better now : )