Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ tuple example

#include <tuple>

....

std::tuple<int, int, int> tpl;

std::get<0>(tpl) = 1;
std::get<1>(tpl) = 2;
std::get<2>(tpl) = 3;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #tuple
ADD COMMENT
Topic
Name
8+1 =