2012-05-05 08:15:15 -07:00
|
|
|
#include <tuple>
|
|
|
|
#include <iostream>
|
|
|
|
|
|
|
|
using namespace std;
|
|
|
|
|
|
|
|
|
2012-05-25 07:17:47 -07:00
|
|
|
// tuple-returning func
|
2012-05-05 08:15:15 -07:00
|
|
|
|
2012-05-25 07:17:47 -07:00
|
|
|
int main() {
|
|
|
|
// make a tuple, get a value from it (silly <i> syntax)
|
|
|
|
// swap a and b
|
2012-05-05 08:15:15 -07:00
|
|
|
// get a,b from func ...
|
|
|
|
}
|