c++11 648

  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. When should I really use noexcept?
  16. Advantages of using forward
  17. Pretty-print C++ STL containers
  18. C++11 rvalues and move semantics confusion (return statement)
  19. How do I pass a unique_ptr argument to a constructor or a function?
  20. What is std::promise?
  21. Difference between `constexpr` and `const`
  22. Rule-of-Three becomes Rule-of-Five with C++11?
  23. Can C++ code be valid in both C++03 and C++11 but do different things?
  24. C++ template typedef
  25. When should you use constexpr capability in C++11?
  26. What are inline namespaces for?
  27. How to use range-based for() loop with std::map?
  28. How to activate C++ 11 in CMake?
  29. Compiling C++11 with g++
  30. How is “int main(){(([](){})());}” valid C++?
  31. std::vector performance regression when enabling C++11
  32. Returning unique_ptr from functions
  33. A positive lambda: '+
  34. Why doesn't C++ have a garbage collector?
  35. “unpacking” a tuple to call a matching function pointer
  36. Is it possible to print a variable's type in standard C++?
  37. What breaking changes are introduced in C++11?
  38. std::unique_lock<std::mutex> or std::lock_guard<std::mutex>?
  39. Can the use of C++11's 'auto' improve performance?
  40. C++11 reverse range-based for-loop
  41. What is “rvalue reference for *this”?
  42. Which kind of pointer do I use when?
  43. make_unique and perfect forwarding
  44. Why is list initialization (using curly braces) better than the alternatives?
  45. to_string is not a member of std, says g++ (mingw)
  46. Start thread with member function
  47. Can modern C++ get you performance for free?
  48. Eclipse CDT C++11/C++0x support
  49. Is std::unique_ptr<T> required to know the full definition of T?
  50. Why does std::list::reverse have O(n) complexity?