Make BasketSet a templated class; why not?
Use delegating constructor
Use decltype to infer basket_set lambda parameter
Test of stream output