struct Address{char section = '/0'; int number = 0;};
std::pair<bool, Address> translate(char section, int number){
std::pair<bool, Address> a;
if(number>100){
a.first = false;
}else{
a.first = true;
a.second.section = section;
a.second.number = number+1;
}
return a;
}
std::tuple用到再看…