C++Now 2018: Ben Deane “Easing into Modern C++”

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

Lightning Talk


---

*--*

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

Good list of non controversial items. C++17 will contain std::size function which can replace handcraft lenghtof or _countof variants. I too would like to have a strong typedef as well.

gast
Автор

There is a typo on the slide - lengthof should be spelled std::size.
And your operator bool is not modern enough:
[[nodiscard]] constexpr explicit operator bool() const noexcept

CTPATEX