News for hackers. Stuff that matters.
Re:The C++14 Standard: What You Need to Know by mFixman on Wednesday September 17, 2014 @10:31AM (#8330137)
I'm not a fan of having attribute tokens like [[deprecated]] written between brackets instead of using the keyword normally like a regular attribute. It smells awfully like C99's _Bool and _Complex, which were created to support legacy code but ended up being an ugly headache.
Re:The C++14 Standard: What You Need to Know by pjmlp on Wednesday September 17, 2014 @10:37AM (#8330173)
The idea is that eventually you can use them in meta-programming just like in other languages that support attributes.
Re:The C++14 Standard: What You Need to Know by repsilat on Wednesday September 17, 2014 @02:22PM (#8331515)
Can we expect to be able to write our own attributes (to be ignored by tools that don't understand what they mean), or will we get compiler errors/warnings there?