[boost] On free functions versus member functions