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
Interactive Panel: Ask Us Anything!
Feb 04, 2012 at 2:06 PM@0:31:00: Wow, is there really a debate on what a module is? Just combine the outdated concept of header / source into one file -- that's a module. Now solve all the language problems that crop up. I agree it's a huge change, modules will have to exist side-by-side with the old system for backwards compatibility.
"#include file" is similar to "from file import *", always a bad idea. C++ will need fine-grained symbol import/export control for macros, namespaces, templates, classes, functions and variables. Look at Python for inspiration: "from module import symbol as local_symbol"
Of course "#include" does more than just import symbols, but the idea is to develop new language to divide its power until it's no longer needed; it's a sledgehammer of a directive and should be deprecated.
C&B 2011 Panel: Herb Sutter, Andrei Alexandrescu and Scott Meyers - C++11
Oct 05, 2011 at 2:56 PMIn response to lambda arg types at 49:00, I don't think it would be too much to ask for something like function_arity<T> and function_arg<T, int> to get the number and type of arguments of any regular/member/bind/lambda function. I've written such a meta function for regular/member, but it's not possible for bind/lambda.
Writing modern C++ code: how C++ has evolved over the years
Sep 19, 2011 at 3:59 AMI'm surprised that the range-for, a language extension, made it into the standard when a beautifully composable library extension using for_each was *so* close to being realized. Just need those polymorphic lambdas [&](auto& e) {...}