Talk type: Talk

Implementing Tuple in 100 Lines of Code

  • Talk in Russian
Presentation pdf

We will discuss a problem you might have when using `std::tuple` from a standard library. One of the ways to overcome this problem is to implement a `tuple` class from scratch.

We will easily implement our own ` tuple` class using multiple inheritance. It will then be refined to work efficiently and correctly in most cases. This class will have many properties of the `std::tuple` class from the standard library, but won't meet all the requirements.

  • #tuple


Invited experts