BudVVeezer | 8 years ago | on: Guide to avoiding vulnerabilities in programming languages [pdf]
BudVVeezer's comments
BudVVeezer | 8 years ago | on: What Science Says to Do If Your Loved One Has an Opioid Addiction
Which is the precise definition of Not In My Back Yard...
BudVVeezer | 8 years ago | on: C++17 is formally approved
if (std::vector<int> v = f(); !v.empty()) { // Use v }
without requiring an extra compound statement to limit the scope and lifetime of v.
BudVVeezer | 8 years ago | on: Trip report: Summer ISO C++ standards meeting in Toronto
It was submitted for PDTS (proposed draft technical standard), which means it goes out for balloting to ISO national bodies. That balloting either succeeds (at which point you have a Techincal Specification) or it comes back to the committee with comments that the committee then has to respond to (and then another round of balloting happens). Once it's accepted as a Technical Specification, it's still not part of the C++ International Standard. That's a decision the committee comes to at their own pace, much like what happened at this meeting where the Concepts TS was accepted (as amended) into the IS.
Think of a TS somewhat like a beta. There's no assurance that the contents of the TS will go into the IS at all or in the exact form it was originally specified in, but that's certainly the hope when the TS is published.
BudVVeezer | 9 years ago | on: Software Engineering Institute Makes CERT C++ Coding Standard Freely Available
BudVVeezer | 9 years ago | on: Software Engineering Institute Makes CERT C++ Coding Standard Freely Available
BudVVeezer | 9 years ago | on: Software Engineering Institute Makes CERT C++ Coding Standard Freely Available
It's easy to forget that alignment is important on some architectures (other than for performance reasons), so be careful when using placement new: https://www.securecoding.cert.org/confluence/display/cpluspl...
This may seem obvious, but even the C++ committee got this one wrong when they created auto_ptr (which has since been removed from the standard): https://www.securecoding.cert.org/confluence/display/cpluspl...
This one is totally obvious but has a stunning number of ways you can fail to adhere to it, some of which look reasonable at first blush: https://www.securecoding.cert.org/confluence/display/cpluspl...
BudVVeezer | 9 years ago | on: Notes on Programming in C – Rob Pike (1989)
BudVVeezer | 9 years ago | on: Delete an inline function, save 794 kB
https://blogs.msdn.microsoft.com/vcblog/2007/05/17/diagnosin...
BudVVeezer | 10 years ago | on: Under the hood of C++ lambdas and std::function
[[]][[]][]()[[]][[]]{}();
BudVVeezer | 10 years ago | on: C++ Status at the end of 2015
BudVVeezer | 10 years ago | on: C++ Status at the end of 2015
BudVVeezer | 10 years ago | on: Atria: A toolkit for modern C++ development from Ableton
BudVVeezer | 10 years ago | on: Ask HN: Resources on secure coding in C?
One thing to note, they split them into recommendations and rules. Recommendations are more stylistic and open to debate, whereas violations of rules generally result in definite security concerns.
BudVVeezer | 10 years ago | on: Strange C Syntax
BudVVeezer | 10 years ago | on: Unicode skin-tone modifiers
BudVVeezer | 10 years ago | on: GCC: Patch to change default C++ dialect to C++14
BudVVeezer | 11 years ago | on: How to implement a constant-expression counter in C++
BudVVeezer | 11 years ago | on: How to implement a constant-expression counter in C++
BudVVeezer | 11 years ago | on: C99 tricks
min(a++, b++);
a or b would really be incremented twice.