A
Alex Vinokur
Suppose we have the following tuple
boost::tuple<int, std::string, bool, double> t (/* initialization */)
I would like to print that tuple using get_head() and get_tail() in
while-loop
while (/* What is a cindition */)
{
std::cout << t.get_head() << std::endl;
// What to do with t.get_tail()
}
Alex Vinokur
boost::tuple<int, std::string, bool, double> t (/* initialization */)
I would like to print that tuple using get_head() and get_tail() in
while-loop
while (/* What is a cindition */)
{
std::cout << t.get_head() << std::endl;
// What to do with t.get_tail()
}
Alex Vinokur