View in context in the libbitcoin Slack #general mirror.
friend is needed on the overloading of >> and << in payment_address.hpp. friend makes the overloading a non-member method. So it can be declared in the right way inside the payment_address class. Interesting