#!/bin/bashs="make_pair(obj1.get<1>(), obj2.get<2>());"sed -E 's/([[:alnum:]_]*)\.get(<[^><]*>)\(\)/get\2(\1)/g' <<< "$s"
Standard input is empty
make_pair(get<1>(obj1), get<2>(obj2));
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!