c++11 845

  1. C++11 introduced a standardized memory model. What does it mean? And how is it going to affect C++ programming?
  2. What is a smart pointer and when should I use one?
  3. What are move semantics?
  4. Why should I use a pointer rather than the object itself?
  5. What is a lambda expression in C++11?
  6. What are rvalues, lvalues, xvalues, glvalues, and prvalues?
  7. What is the difference between 'typedef' and 'using' in C++11?
  8. What does T&& (double ampersand) mean in C++11?
  9. Are the days of passing const std::string & as a parameter over?
  10. push_back vs emplace_back
  11. What exactly is nullptr?
  12. What are Aggregates and PODs and how/why are they special?
  13. Iterator invalidation rules
  14. What is std::move(), and when should it be used?
  15. Difference between `constexpr` and `const`
  16. When should I really use noexcept?
  17. Advantages of using forward
  18. Pretty-print C++ STL containers
  19. C++11 rvalues and move semantics confusion (return statement)
  20. How do I pass a unique_ptr argument to a constructor or a function?
  21. What is std::promise?
  22. Rule-of-Three becomes Rule-of-Five with C++11?
  23. C++ template typedef
  24. Can C++ code be valid in both C++03 and C++11 but do different things?
  25. Compiling C++11 with g++
  26. When should you use constexpr capability in C++11?
  27. How to activate C++ 11 in CMake?
  28. How to use range-based for() loop with std::map?
  29. What are inline namespaces for?
  30. Returning unique_ptr from functions
  31. How is “int main(){(([](){})());}” valid C++?
  32. Is it possible to print a variable's type in standard C++?
  33. C++11 reverse range-based for-loop
  34. std::unique_lock<std::mutex> or std::lock_guard<std::mutex>?
  35. std::vector performance regression when enabling C++11
  36. Why is list initialization (using curly braces) better than the alternatives?
  37. Why doesn't C++ have a garbage collector?
  38. A positive lambda: '+
  39. “unpacking” a tuple to call a matching function pointer
  40. Which kind of pointer do I use when?
  41. What breaking changes are introduced in C++11?
  42. What is “rvalue reference for *this”?
  43. Can the use of C++11's 'auto' improve performance?
  44. to_string is not a member of std, says g++ (mingw)
  45. Start thread with member function
  46. make_unique and perfect forwarding
  47. Is std::unique_ptr<T> required to know the full definition of T?
  48. Eclipse CDT C++11/C++0x support
  49. Can modern C++ get you performance for free?
  50. Why does C++11's lambda require “mutable” keyword for capture-by-value, by default?