operator<< for std::unique_ptr