Fixing C++ with Epochs - Vittorio Romeo - CppCon 2019

preview_player
Показать описание



Lightning Talk


*-----*
*-----*
Рекомендации по теме
Комментарии
Автор

Great talk! C++ really needs something like this to continue to evolve, and stay relevant. It's bad that we've been linking our code with a glorified copy/paste until now, but modules really are a great opportunity to fix the syntax of things like initializing a vector of ints.

It's definitely going to be an uphill battle to get this into the standard, but I really hope it (or at least something like it) can happen by C++23 or 26.

jediyoshi
Автор

This will be the best thing to happen to C++, ever.

rajaravivarmar
Автор

Great idea. Good luck convincing compiler devs to implement it.

alfin
Автор

it would be a really nice thing to have!!

lucacarella
Автор

Really good idea. Don't know if my suggestion adds value, but here it goes. Why not use namespace for containing version-specific implementation. This will reduce duplication of code by way of inline editing/addition in the same place rather than separate files.

kamalraghav