Linear Types in C++
Linear in C++ template <typename T> concept Linear = std::is_nothrow_destructible_v<T> and detail::linear_usable_as<T, T> and detail::linear_usable_as<T, T&&> and detail::linear_unusable_as<T, T&> and detail::linear_unusable_as<T, const T&> and detail::linear_unusable_as<T, const T>; C++ Russia 2019
A presentation slide titled “Linear in C++” shows a dense C++ concept definition describing which forms of a type are usable or unusable. The joke is that the promised elegant explanation of move-only or linear types becomes an intimidating wall of advanced template code, making the topic feel absurdly complicated. EN: A presentation slide titled “Linear in C++” shows a dense C++ concept definition describing which forms of a type are usable or unusable. The joke is that the promised elegant explanation of move-only or linear types becomes an intimidating wall of advanced template code, making the topic feel absurdly complicated.
presentation slide / слайд презентацииC++ source code / исходный код C++text editor or code projection / проекция кодаblue title bar / синяя строка заголовкаconference presentation / конференционная презентацияmonospaced text / моноширинный текстconcept definition / определение concepttemplate syntax / синтаксис шаблоновwhite screen / белый экран
- @ithueti / 847 2019-04-19
- Type
- image
- Size
- 800×600 · 56.0 KiB
- Mood
- technical absurdity
- Language
- en
- Added