Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
GoingNative 15: VC++ turns 20, Ale turns 40, C9 turns 9
Mar 25, 2013 at 2:17 AMIs it me, or is the aspect ratio of the main material way off (egg heads)?
Stephan T. Lavavej - Core C++, 4 of n
Aug 23, 2012 at 12:09 AMI would still like to see that "parameter passing best practices" episode
But if it's gotta be core C++, how about "sequence points are dead, long live the sequenced-before relationship"?
Stephan T. Lavavej: Core C++, 3 of n
Jul 25, 2012 at 1:52 PMstatic_assert(sizeof("peppermint") == 11, "6 + 4 + 1 == 11");
Stephan T. Lavavej: Core C++, 3 of n
Jul 25, 2012 at 7:40 AMWhen I play this video in VLC, the title says "Dina Dublon". Why is that?
Stephan T. Lavavej: Core C++, 2 of n
Jul 23, 2012 at 5:18 AM[1F13] Deep Space Homer
Scientist: [resigned] Well, Homer, I guess you're the winner by default.
Homer: Default? Woo hoo! The two sweetest words in the English language: de-fault! De-fault! De-fault!
[assistant clubs him]
Stephan T. Lavavej: Core C++, 2 of n
Jul 13, 2012 at 8:54 AMI don't know if this is too basic or not, but how about making an episode about best practices for parameter passing in C++11?
Like, when do you pass by value, by lvalue reference, by lvalue reference to const, by rvalue reference, by rvalue reference to const, by pointer or by pointer to const? When should you prefer passing iterators instead? Is it a good idea to have iterators as members? Or should they just be used inside a function? How do you pass stuff into members? Should move-only types be passed by rvalue reference or or by value? Should we pass shared pointers by lvalue reference to const, by rvalue reference to const or by value?
What do we do in generic code? How do we decide what the best passing mode for T is? (Doesn't Boost have a meta-function for this?) What's the difference between ConreteType&& and TemplateParameter&&? Related: what does auto&& mean, and when should I use it?
I think it would be really helpful, especially for beginners, if you could dissect these issues in the next episode.
Stephan T. Lavavej: Core C++, 2 of n
Jul 11, 2012 at 1:10 PMIf template argument deduction does not allow any conversions, how come "peppermint" is converted from const char[11] to const char* before being matched with the const T* overload?
STL11: Magic && Secrets
Feb 05, 2012 at 4:51 AMAt 35:12, you start talking about move semantics in the context of the flip function taking a string by value, but there are no move semantics involved here. Since the arguments are const char arrays, the string variable s is simply initialized by the constructor string(const char*), as it always has been.
Interactive Panel: The Importance of Being Native
Feb 04, 2012 at 4:18 AMAllocating n+1 space is a common beginner's mistake which would indeed lead to O(n) push_back performance. In reality, the complexity of push_back is "amortized constant time", because the space is not increased by a fixed addend like +1 or +10 but rather by a fixed factor like *1.5 or *2.
I'm a bit surprised STL did not comment on this since. Unless I'm mistaken, this issue is one of his pet peeves
YOW 2012 Keynotes and Session Videos Now Available
Jan 31, 2012 at 3:01 AMNice! Download links would be very nice.
See more comments…