~/talk

Upgrade from "permissive C++" to "modern C++" with Visual Studio 2019

Talkat CppCon 2019 · 2019-09-15..09-20· [developer-experience, software-architecture]
links:none on file
slides:none on file

Shows how Visual Studio 2019 moves a legacy codebase to strictly conformant C++: flip the permissive- flag to catch late-parsed errors, use quick actions to convert macros to constexpr and strings to raw literals, apply make_unique to remove manual new/delete and resolve green-squiggle warnings, change enums to enum class, and replace a union with std::variant plus std::visit (auto-inserted #include fixes broken builds). IntelliSense + IntelliCode offers context-aware suggestions; the demo preserves identical program output while reducing file warnings to zero.

AI-written summary · about

  1. 0:00Introduction to Modern C++
  2. 1:28Project Configuration
  3. 4:00IDE Productivity Features
  4. 5:43Refactoring Code
  5. 9:14Applying Core Guidelines
  6. 12:59Modernizing Data Structures
  7. 18:09String Literals and Recap
  8. 19:42Resources and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.