#include <boost/range/adaptor/transformed.hpp>
#include <cctype>
#include <string>
#include <iostream>
int main()
{
const std::string input = "Hello, World!";
const auto& transformed = boost::adaptors::transform(input, ::toupper);
const std::string output(transformed.begin(), transformed.end());
std::cout << input << " -> " << output << std::endl;
}
I2luY2x1ZGUgPGJvb3N0L3JhbmdlL2FkYXB0b3IvdHJhbnNmb3JtZWQuaHBwPgojaW5jbHVkZSA8Y2N0eXBlPgojaW5jbHVkZSA8c3RyaW5nPgojaW5jbHVkZSA8aW9zdHJlYW0+CgppbnQgbWFpbigpCnsKICBjb25zdCBzdGQ6OnN0cmluZyBpbnB1dCA9ICJIZWxsbywgV29ybGQhIjsKICBjb25zdCBhdXRvJiB0cmFuc2Zvcm1lZCA9IGJvb3N0OjphZGFwdG9yczo6dHJhbnNmb3JtKGlucHV0LCA6OnRvdXBwZXIpOwogIGNvbnN0IHN0ZDo6c3RyaW5nIG91dHB1dCh0cmFuc2Zvcm1lZC5iZWdpbigpLCB0cmFuc2Zvcm1lZC5lbmQoKSk7CgogIHN0ZDo6Y291dCA8PCBpbnB1dCA8PCAiIC0+ICIgPDwgb3V0cHV0IDw8IHN0ZDo6ZW5kbDsKfQ==