Tag: C++11 : std::tuple Tutorial & Examples
C++11 : std::tuple Tutorial & Examples
In this article we will discuss what is std::tuple and how to use it. what is std::tuple and why do we need it ? std::tuple is a type that can bind fixed size heterogeneous values together. We need to specify the type of elements as template parameter while creating tuple object. Advertisements Creating a std::tuple object …