Anyway, adding extension methods to C++ could be as trivial as the name of the first parameter being "this":

std::string reverse(const std::string& this){…}

auto s = somestring.reverse();

Reply via email to