#include #include "pairuser.h" using namespace std; std::pair PairUser::callCreatePair() { cout << __PRETTY_FUNCTION__ << endl; return createPair(); } std::pair PairUser::createPair() { cout << __PRETTY_FUNCTION__ << endl; return std::pair(10, 20); } std::pair PairUser::createComplexPair(Complex cpx0, Complex cpx1) { cout << __PRETTY_FUNCTION__ << endl; return std::pair(cpx0, cpx1); } double PairUser::sumPair(std::pair pair) { return ((double) pair.first) + pair.second; }