Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

iterator on std::tuple

{
    auto tup = std::make_tuple(0, 'a', 3.14);
    template for (auto elem : tup)
        std::cout << elem << std::endl;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #iterator
ADD COMMENT
Topic
Name
1+3 =