#include <iostream>
#include <memory>
#include <utility>

int main() {
    auto a = std::make_unique<int>(9);
    int* borrowed = a.get();
    auto b = std::move(a);
    std::cout << "a empty " << (a == nullptr) << '\n';
    std::cout << "b " << *b << '\n';
    std::cout << "borrow " << *borrowed << '\n';
    return 0;
}
