Horje
unpack tuple c++ Code Example
unpack tuple c++
auto tuple = std::make_tuple(1, 'a', 2.3);
std::array<int, 3> a{1, 2, 3};

// unpack the tuple into individual variables declared above
const auto[i, c, d] = tuple;
// same with an array
auto[x,y,z] = a;




Cpp

Related
online c++ compiler Code Example online c++ compiler Code Example
q10 Code Example q10 Code Example
find space in string Code Example find space in string Code Example
Equalize problem codeforces Code Example Equalize problem codeforces Code Example
opencv rgb to gray c++ Code Example opencv rgb to gray c++ Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8