0_0_22123867_2661.cpp: In function 'int main()': 0_0_22123867_2661.cpp:123:30: error: cannot pass objects of non-trivially-copyable type 'std::string {aka class std::basic_string<char>}' through '...' printf("%s\n",tmp); ^