I’m sure this question has been asked before, but I can’t get the text searched for. If anyone can explain them, refer me to an article, or give me the correct search query I would appreciate it.
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is just a hunch but looking at the Wikipedia C++11 Page for String Literals, and mixing it with what we know of the
_Tmacro, it makes sense that the_RTmacro could be about making_Tbased raw string literals.You would have to take a look at the macro itself to see what it does. As the
_Tmacro prependsLto the item if you’re using unicode, my guess is that_RTwould prependRalways and alsoLif Unicode.So
_Tis used for dealing with normal string literals and making them unicode (wchar_t) or not, and_RTis used for making raw string literals and making them unicode or not.