C++ Links: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Claas (Diskussion | Beiträge) (→Types: Create a new type when using std::variant) |
Claas (Diskussion | Beiträge) (→Coroutines: C++20 Coroutine: Under The Hood) |
||
Zeile 39: | Zeile 39: | ||
* [https://hackernoon.com/c-coroutine-ts-its-about-inversion-of-control-d1588c4c4c31 It’s about inversion of control!], [https://medium.com/@jasonmeisel/ranges-code-quality-and-the-future-of-c-99adc6199608 Pythagorean triples (ranges)] | * [https://hackernoon.com/c-coroutine-ts-its-about-inversion-of-control-d1588c4c4c31 It’s about inversion of control!], [https://medium.com/@jasonmeisel/ranges-code-quality-and-the-future-of-c-99adc6199608 Pythagorean triples (ranges)] | ||
* Coroutines [https://lewissbaker.github.io/2017/09/25/coroutine-theory 1], [https://lewissbaker.github.io/2017/11/17/understanding-operator-co-await 2], [https://lewissbaker.github.io/2018/09/05/understanding-the-promise-type 3] | * Coroutines [https://lewissbaker.github.io/2017/09/25/coroutine-theory 1], [https://lewissbaker.github.io/2017/11/17/understanding-operator-co-await 2], [https://lewissbaker.github.io/2018/09/05/understanding-the-promise-type 3] | ||
* [http://www.vishalchovatiya.com/cpp20-coroutine-under-the-hood/ C++20 Coroutine: Under The Hood] | |||
* [https://turingcompl33t.github.io/Coroutine-Map/ Accelerating Map Multi-Lookup with Coroutines] | * [https://turingcompl33t.github.io/Coroutine-Map/ Accelerating Map Multi-Lookup with Coroutines] | ||
* [https://ericniebler.com/2020/11/08/structured-concurrency/ Structured Concurrency] | * [https://ericniebler.com/2020/11/08/structured-concurrency/ Structured Concurrency] |
Version vom 14. Mai 2021, 21:27 Uhr
Concurrency
Exceptions and Transactional Operations
Containers
Tuples
Variants
- Polymorphism using variant
- Visiting variants using lambdas
- Polymorphism-polymorphism
- The two line visitor explained
- Functions of Variants are Covariant
Boost Multiindex
Regular Expressions
Iterators
Functional Programming
Coroutines
- It’s about inversion of control!, Pythagorean triples (ranges)
- Coroutines 1, 2, 3
- C++20 Coroutine: Under The Hood
- Accelerating Map Multi-Lookup with Coroutines
- Structured Concurrency
Types
- Strong typedefs
- strong_typedef by Anthony Williams
- ADL
- lvalues, rvalues, glvalues, prvalues, xvalues, help
- Create a new type when using std::variant
Concepts
Random
Metaprogramming
- Size of an array (another way)
- static_if
- Deep copy using a polymorphic wrapper
- A customizable framework
- Zero overhead currying
- Fundamental operations on type lists (1, 2)
CRTP
Covariance, Contravariance, Invariance
Lambdas
- Composing Lambdas in C++14 -- and Functions
- Capturing perfectly-forwarded objects in lambdas
- Fun with lambdas (part 1)
- Lambda story part 1
Methods / Patterns
- C++ Special Member Function Guidelines
- C++ Named Arguments
- The Pimpl Pattern - what you should know
- It all comes down to respecting levels of abstraction
- The expression problem
- typestates for expressive code
- Simultaneous comparisons via private inheritance from tuple
Pointers and References
Optimization
- OutOfLine: Reduce cache misses by reducing size of class
- GCC attribute pure
- We don’t need no stinking expression templates