#include <iostream>
#include <memory>
int main() {
auto str = std::make_unique<std::string>("Testando Smart Pointers");
std::cout << *str.get() << " size: " << str->size() << std::endl;
}
//https://pt.stackoverflow.com/q/260076/101
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8bWVtb3J5PgoKaW50IG1haW4oKSB7CiAgICBhdXRvIHN0ciA9IHN0ZDo6bWFrZV91bmlxdWU8c3RkOjpzdHJpbmc+KCJUZXN0YW5kbyBTbWFydCBQb2ludGVycyIpOwogICAgc3RkOjpjb3V0IDw8ICpzdHIuZ2V0KCkgPDwgIiBzaXplOiAiIDw8IHN0ci0+c2l6ZSgpIDw8IHN0ZDo6ZW5kbDsgCn0KCi8vaHR0cHM6Ly9wdC5zdGFja292ZXJmbG93LmNvbS9xLzI2MDA3Ni8xMDE=