using C++11 attributes gives a hint that [[attributes]] are new to C++11.
I would like to confirm this: Are attributes new to C++11?
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.
Yes, attributes are a new feature in the 2011 ISO C++ standard; they are not specified in the previous 2003 standard.
They’re documented in section 7.6 [dcl.attr] of the standard. A recent draft of the standard is N3376 (PDF, 4.9 MB).