The C++17 standard was one of the major standards in the history of modern C++. One of the new library features in C++17 was std::apply which is designed to be used with std::tuple class template. In this post, we explain how to use apply with std::tuple in C++ examples.
What is std::tuple in C++?
Thetuple(std::tuple) is a class templatea fixed-size collection of…
How To Use Tuple Addressing Via Type In C++14 And Beyond
October 26, 2023
The tuple ( std::tuple ) is a class template that stores the different types of elements, it also supports empty lists in modern C++. This template was introduced in C++11 and improved in C++14. In this post, we explain tuple addressing via type features that come with the…
Learn To Use std::tuple In A C++ Compiler For Windows
July 20, 2022
What is a tuple, or std::tuple? How can I use a tuple in a C++ compiler? Can I store different types of variables in tuple template?
What does std::tuple mean to a C++ compiler?
The tuple ( std::tuple) is a class templatea fixed-size collection of different types…